code
stringlengths 17
247k
| docstring
stringlengths 30
30.3k
| func_name
stringlengths 1
89
| language
stringclasses 1
value | repo
stringlengths 7
63
| path
stringlengths 7
153
| url
stringlengths 51
209
| license
stringclasses 4
values |
---|---|---|---|---|---|---|---|
public function getEndTimestampMs()
{
return isset($this->end_timestamp_ms) ? $this->end_timestamp_ms : 0;
} | end time of event based on a monotonic clock (in milliseconds), if needed
Generated from protobuf field <code>optional int64 end_timestamp_ms = 5;</code>
@return int|string | getEndTimestampMs | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EventMetric.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EventMetric.php | Apache-2.0 |
public function setEndTimestampMs($var)
{
GPBUtil::checkInt64($var);
$this->end_timestamp_ms = $var;
return $this;
} | end time of event based on a monotonic clock (in milliseconds), if needed
Generated from protobuf field <code>optional int64 end_timestamp_ms = 5;</code>
@param int|string $var
@return $this | setEndTimestampMs | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EventMetric.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EventMetric.php | Apache-2.0 |
public function getNormalizedStartTimestamp()
{
return $this->normalized_start_timestamp;
} | Generated from protobuf field <code>.google.protobuf.Timestamp normalized_start_timestamp = 6;</code>
@return \Google\Protobuf\Timestamp|null | getNormalizedStartTimestamp | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EventMetric.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EventMetric.php | Apache-2.0 |
public function setNormalizedStartTimestamp($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->normalized_start_timestamp = $var;
return $this;
} | Generated from protobuf field <code>.google.protobuf.Timestamp normalized_start_timestamp = 6;</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setNormalizedStartTimestamp | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EventMetric.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EventMetric.php | Apache-2.0 |
public function getNormalizedEndTimestamp()
{
return $this->normalized_end_timestamp;
} | Generated from protobuf field <code>optional .google.protobuf.Timestamp normalized_end_timestamp = 7;</code>
@return \Google\Protobuf\Timestamp|null | getNormalizedEndTimestamp | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EventMetric.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EventMetric.php | Apache-2.0 |
public function setNormalizedEndTimestamp($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->normalized_end_timestamp = $var;
return $this;
} | Generated from protobuf field <code>optional .google.protobuf.Timestamp normalized_end_timestamp = 7;</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setNormalizedEndTimestamp | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EventMetric.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EventMetric.php | Apache-2.0 |
public function getRid()
{
return $this->rid;
} | index into 'str_data'
Generated from protobuf field <code>uint32 rid = 9;</code>
@return int | getRid | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EventMetric.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EventMetric.php | Apache-2.0 |
public function setRid($var)
{
GPBUtil::checkUint32($var);
$this->rid = $var;
return $this;
} | index into 'str_data'
Generated from protobuf field <code>uint32 rid = 9;</code>
@param int $var
@return $this | setRid | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EventMetric.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EventMetric.php | Apache-2.0 |
public function getJobId()
{
return $this->job_id;
} | Generated from protobuf field <code>string job_id = 1;</code>
@return string | getJobId | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AvailabilityResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AvailabilityResponse.php | Apache-2.0 |
public function setJobId($var)
{
GPBUtil::checkString($var, True);
$this->job_id = $var;
return $this;
} | Generated from protobuf field <code>string job_id = 1;</code>
@param string $var
@return $this | setJobId | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AvailabilityResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AvailabilityResponse.php | Apache-2.0 |
public function getAvailable()
{
return $this->available;
} | Generated from protobuf field <code>bool available = 2;</code>
@return bool | getAvailable | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AvailabilityResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AvailabilityResponse.php | Apache-2.0 |
public function setAvailable($var)
{
GPBUtil::checkBool($var);
$this->available = $var;
return $this;
} | Generated from protobuf field <code>bool available = 2;</code>
@param bool $var
@return $this | setAvailable | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AvailabilityResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AvailabilityResponse.php | Apache-2.0 |
public function getSupportsResume()
{
return $this->supports_resume;
} | Generated from protobuf field <code>bool supports_resume = 3;</code>
@return bool | getSupportsResume | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AvailabilityResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AvailabilityResponse.php | Apache-2.0 |
public function setSupportsResume($var)
{
GPBUtil::checkBool($var);
$this->supports_resume = $var;
return $this;
} | Generated from protobuf field <code>bool supports_resume = 3;</code>
@param bool $var
@return $this | setSupportsResume | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AvailabilityResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AvailabilityResponse.php | Apache-2.0 |
public function getTrackSids()
{
return $this->track_sids;
} | list of sids of tracks
Generated from protobuf field <code>repeated string track_sids = 3;</code>
@return \Google\Protobuf\Internal\RepeatedField | getTrackSids | php | agence104/livekit-server-sdk-php | src/proto/Livekit/UpdateSubscriptionsRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateSubscriptionsRequest.php | Apache-2.0 |
public function setTrackSids($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->track_sids = $arr;
return $this;
} | list of sids of tracks
Generated from protobuf field <code>repeated string track_sids = 3;</code>
@param string[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setTrackSids | php | agence104/livekit-server-sdk-php | src/proto/Livekit/UpdateSubscriptionsRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateSubscriptionsRequest.php | Apache-2.0 |
public function getSubscribe()
{
return $this->subscribe;
} | set to true to subscribe, false to unsubscribe from tracks
Generated from protobuf field <code>bool subscribe = 4;</code>
@return bool | getSubscribe | php | agence104/livekit-server-sdk-php | src/proto/Livekit/UpdateSubscriptionsRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateSubscriptionsRequest.php | Apache-2.0 |
public function setSubscribe($var)
{
GPBUtil::checkBool($var);
$this->subscribe = $var;
return $this;
} | set to true to subscribe, false to unsubscribe from tracks
Generated from protobuf field <code>bool subscribe = 4;</code>
@param bool $var
@return $this | setSubscribe | php | agence104/livekit-server-sdk-php | src/proto/Livekit/UpdateSubscriptionsRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateSubscriptionsRequest.php | Apache-2.0 |
public function getParticipantTracks()
{
return $this->participant_tracks;
} | list of participants and their tracks
Generated from protobuf field <code>repeated .livekit.ParticipantTracks participant_tracks = 5;</code>
@return \Google\Protobuf\Internal\RepeatedField | getParticipantTracks | php | agence104/livekit-server-sdk-php | src/proto/Livekit/UpdateSubscriptionsRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateSubscriptionsRequest.php | Apache-2.0 |
public function setParticipantTracks($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\ParticipantTracks::class);
$this->participant_tracks = $arr;
return $this;
} | list of participants and their tracks
Generated from protobuf field <code>repeated .livekit.ParticipantTracks participant_tracks = 5;</code>
@param \Livekit\ParticipantTracks[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setParticipantTracks | php | agence104/livekit-server-sdk-php | src/proto/Livekit/UpdateSubscriptionsRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateSubscriptionsRequest.php | Apache-2.0 |
public function getRoomPrefix()
{
return $this->room_prefix;
} | Prefix used on new room name
Generated from protobuf field <code>string room_prefix = 1;</code>
@return string | getRoomPrefix | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPDispatchRuleCallee.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPDispatchRuleCallee.php | Apache-2.0 |
public function setRoomPrefix($var)
{
GPBUtil::checkString($var, True);
$this->room_prefix = $var;
return $this;
} | Prefix used on new room name
Generated from protobuf field <code>string room_prefix = 1;</code>
@param string $var
@return $this | setRoomPrefix | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPDispatchRuleCallee.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPDispatchRuleCallee.php | Apache-2.0 |
public function getPin()
{
return $this->pin;
} | Optional pin required to enter room
Generated from protobuf field <code>string pin = 2;</code>
@return string | getPin | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPDispatchRuleCallee.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPDispatchRuleCallee.php | Apache-2.0 |
public function setPin($var)
{
GPBUtil::checkString($var, True);
$this->pin = $var;
return $this;
} | Optional pin required to enter room
Generated from protobuf field <code>string pin = 2;</code>
@param string $var
@return $this | setPin | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPDispatchRuleCallee.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPDispatchRuleCallee.php | Apache-2.0 |
public function getRandomize()
{
return $this->randomize;
} | Optionally append random suffix
Generated from protobuf field <code>bool randomize = 3;</code>
@return bool | getRandomize | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPDispatchRuleCallee.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPDispatchRuleCallee.php | Apache-2.0 |
public function setRandomize($var)
{
GPBUtil::checkBool($var);
$this->randomize = $var;
return $this;
} | Optionally append random suffix
Generated from protobuf field <code>bool randomize = 3;</code>
@param bool $var
@return $this | setRandomize | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPDispatchRuleCallee.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPDispatchRuleCallee.php | Apache-2.0 |
public function getFilename()
{
return $this->filename;
} | Generated from protobuf field <code>string filename = 1;</code>
@return string | getFilename | php | agence104/livekit-server-sdk-php | src/proto/Livekit/FileInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/FileInfo.php | Apache-2.0 |
public function setFilename($var)
{
GPBUtil::checkString($var, True);
$this->filename = $var;
return $this;
} | Generated from protobuf field <code>string filename = 1;</code>
@param string $var
@return $this | setFilename | php | agence104/livekit-server-sdk-php | src/proto/Livekit/FileInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/FileInfo.php | Apache-2.0 |
public function getDuration()
{
return $this->duration;
} | Generated from protobuf field <code>int64 duration = 6;</code>
@return int|string | getDuration | php | agence104/livekit-server-sdk-php | src/proto/Livekit/FileInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/FileInfo.php | Apache-2.0 |
public function setDuration($var)
{
GPBUtil::checkInt64($var);
$this->duration = $var;
return $this;
} | Generated from protobuf field <code>int64 duration = 6;</code>
@param int|string $var
@return $this | setDuration | php | agence104/livekit-server-sdk-php | src/proto/Livekit/FileInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/FileInfo.php | Apache-2.0 |
public function getSize()
{
return $this->size;
} | Generated from protobuf field <code>int64 size = 4;</code>
@return int|string | getSize | php | agence104/livekit-server-sdk-php | src/proto/Livekit/FileInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/FileInfo.php | Apache-2.0 |
public function setSize($var)
{
GPBUtil::checkInt64($var);
$this->size = $var;
return $this;
} | Generated from protobuf field <code>int64 size = 4;</code>
@param int|string $var
@return $this | setSize | php | agence104/livekit-server-sdk-php | src/proto/Livekit/FileInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/FileInfo.php | Apache-2.0 |
public function getLocation()
{
return $this->location;
} | Generated from protobuf field <code>string location = 5;</code>
@return string | getLocation | php | agence104/livekit-server-sdk-php | src/proto/Livekit/FileInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/FileInfo.php | Apache-2.0 |
public function setLocation($var)
{
GPBUtil::checkString($var, True);
$this->location = $var;
return $this;
} | Generated from protobuf field <code>string location = 5;</code>
@param string $var
@return $this | setLocation | php | agence104/livekit-server-sdk-php | src/proto/Livekit/FileInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/FileInfo.php | Apache-2.0 |
public function getDispatchId()
{
return $this->dispatch_id;
} | Generated from protobuf field <code>string dispatch_id = 1;</code>
@return string | getDispatchId | php | agence104/livekit-server-sdk-php | src/proto/Livekit/DeleteAgentDispatchRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/DeleteAgentDispatchRequest.php | Apache-2.0 |
public function setDispatchId($var)
{
GPBUtil::checkString($var, True);
$this->dispatch_id = $var;
return $this;
} | Generated from protobuf field <code>string dispatch_id = 1;</code>
@param string $var
@return $this | setDispatchId | php | agence104/livekit-server-sdk-php | src/proto/Livekit/DeleteAgentDispatchRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/DeleteAgentDispatchRequest.php | Apache-2.0 |
public function getSamples()
{
return $this->samples;
} | Generated from protobuf field <code>repeated .livekit.MetricSample samples = 4;</code>
@return \Google\Protobuf\Internal\RepeatedField | getSamples | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TimeSeriesMetric.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TimeSeriesMetric.php | Apache-2.0 |
public function setSamples($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\MetricSample::class);
$this->samples = $arr;
return $this;
} | Generated from protobuf field <code>repeated .livekit.MetricSample samples = 4;</code>
@param \Livekit\MetricSample[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setSamples | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TimeSeriesMetric.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TimeSeriesMetric.php | Apache-2.0 |
public function getAccessKey()
{
return $this->access_key;
} | Generated from protobuf field <code>string access_key = 1;</code>
@return string | getAccessKey | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AliOSSUpload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AliOSSUpload.php | Apache-2.0 |
public function setAccessKey($var)
{
GPBUtil::checkString($var, True);
$this->access_key = $var;
return $this;
} | Generated from protobuf field <code>string access_key = 1;</code>
@param string $var
@return $this | setAccessKey | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AliOSSUpload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AliOSSUpload.php | Apache-2.0 |
public function getSecret()
{
return $this->secret;
} | Generated from protobuf field <code>string secret = 2;</code>
@return string | getSecret | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AliOSSUpload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AliOSSUpload.php | Apache-2.0 |
public function setSecret($var)
{
GPBUtil::checkString($var, True);
$this->secret = $var;
return $this;
} | Generated from protobuf field <code>string secret = 2;</code>
@param string $var
@return $this | setSecret | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AliOSSUpload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AliOSSUpload.php | Apache-2.0 |
public function getEndpoint()
{
return $this->endpoint;
} | Generated from protobuf field <code>string endpoint = 4;</code>
@return string | getEndpoint | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AliOSSUpload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AliOSSUpload.php | Apache-2.0 |
public function setEndpoint($var)
{
GPBUtil::checkString($var, True);
$this->endpoint = $var;
return $this;
} | Generated from protobuf field <code>string endpoint = 4;</code>
@param string $var
@return $this | setEndpoint | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AliOSSUpload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AliOSSUpload.php | Apache-2.0 |
public function getBucket()
{
return $this->bucket;
} | Generated from protobuf field <code>string bucket = 5;</code>
@return string | getBucket | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AliOSSUpload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AliOSSUpload.php | Apache-2.0 |
public function setBucket($var)
{
GPBUtil::checkString($var, True);
$this->bucket = $var;
return $this;
} | Generated from protobuf field <code>string bucket = 5;</code>
@param string $var
@return $this | setBucket | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AliOSSUpload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AliOSSUpload.php | Apache-2.0 |
public function getAccountName()
{
return $this->account_name;
} | Generated from protobuf field <code>string account_name = 1;</code>
@return string | getAccountName | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AzureBlobUpload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AzureBlobUpload.php | Apache-2.0 |
public function setAccountName($var)
{
GPBUtil::checkString($var, True);
$this->account_name = $var;
return $this;
} | Generated from protobuf field <code>string account_name = 1;</code>
@param string $var
@return $this | setAccountName | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AzureBlobUpload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AzureBlobUpload.php | Apache-2.0 |
public function getAccountKey()
{
return $this->account_key;
} | Generated from protobuf field <code>string account_key = 2;</code>
@return string | getAccountKey | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AzureBlobUpload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AzureBlobUpload.php | Apache-2.0 |
public function setAccountKey($var)
{
GPBUtil::checkString($var, True);
$this->account_key = $var;
return $this;
} | Generated from protobuf field <code>string account_key = 2;</code>
@param string $var
@return $this | setAccountKey | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AzureBlobUpload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AzureBlobUpload.php | Apache-2.0 |
public function getContainerName()
{
return $this->container_name;
} | Generated from protobuf field <code>string container_name = 3;</code>
@return string | getContainerName | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AzureBlobUpload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AzureBlobUpload.php | Apache-2.0 |
public function setContainerName($var)
{
GPBUtil::checkString($var, True);
$this->container_name = $var;
return $this;
} | Generated from protobuf field <code>string container_name = 3;</code>
@param string $var
@return $this | setContainerName | php | agence104/livekit-server-sdk-php | src/proto/Livekit/AzureBlobUpload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AzureBlobUpload.php | Apache-2.0 |
public function getTransferTo()
{
return $this->transfer_to;
} | Generated from protobuf field <code>string transfer_to = 3;</code>
@return string | getTransferTo | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TransferSIPParticipantRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TransferSIPParticipantRequest.php | Apache-2.0 |
public function setTransferTo($var)
{
GPBUtil::checkString($var, True);
$this->transfer_to = $var;
return $this;
} | Generated from protobuf field <code>string transfer_to = 3;</code>
@param string $var
@return $this | setTransferTo | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TransferSIPParticipantRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TransferSIPParticipantRequest.php | Apache-2.0 |
public function getAllowedAddresses()
{
return $this->allowed_addresses;
} | CIDR or IPs that traffic is accepted from.
An empty list means all inbound traffic is accepted.
Generated from protobuf field <code>repeated string allowed_addresses = 5;</code>
@return \Google\Protobuf\Internal\RepeatedField | getAllowedAddresses | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPInboundTrunkInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPInboundTrunkInfo.php | Apache-2.0 |
public function setAllowedAddresses($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->allowed_addresses = $arr;
return $this;
} | CIDR or IPs that traffic is accepted from.
An empty list means all inbound traffic is accepted.
Generated from protobuf field <code>repeated string allowed_addresses = 5;</code>
@param string[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setAllowedAddresses | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPInboundTrunkInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPInboundTrunkInfo.php | Apache-2.0 |
public function getAllowedNumbers()
{
return $this->allowed_numbers;
} | Numbers that are allowed to make calls to this Trunk.
An empty list means calls from any phone number is accepted.
Generated from protobuf field <code>repeated string allowed_numbers = 6;</code>
@return \Google\Protobuf\Internal\RepeatedField | getAllowedNumbers | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPInboundTrunkInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPInboundTrunkInfo.php | Apache-2.0 |
public function setAllowedNumbers($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->allowed_numbers = $arr;
return $this;
} | Numbers that are allowed to make calls to this Trunk.
An empty list means calls from any phone number is accepted.
Generated from protobuf field <code>repeated string allowed_numbers = 6;</code>
@param string[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setAllowedNumbers | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPInboundTrunkInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPInboundTrunkInfo.php | Apache-2.0 |
public function getAuthUsername()
{
return $this->auth_username;
} | Username and password used to authenticate inbound SIP invites.
May be empty to have no authentication.
Generated from protobuf field <code>string auth_username = 7;</code>
@return string | getAuthUsername | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPInboundTrunkInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPInboundTrunkInfo.php | Apache-2.0 |
public function setAuthUsername($var)
{
GPBUtil::checkString($var, True);
$this->auth_username = $var;
return $this;
} | Username and password used to authenticate inbound SIP invites.
May be empty to have no authentication.
Generated from protobuf field <code>string auth_username = 7;</code>
@param string $var
@return $this | setAuthUsername | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPInboundTrunkInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPInboundTrunkInfo.php | Apache-2.0 |
public function getAuthPassword()
{
return $this->auth_password;
} | Generated from protobuf field <code>string auth_password = 8;</code>
@return string | getAuthPassword | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPInboundTrunkInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPInboundTrunkInfo.php | Apache-2.0 |
public function setAuthPassword($var)
{
GPBUtil::checkString($var, True);
$this->auth_password = $var;
return $this;
} | Generated from protobuf field <code>string auth_password = 8;</code>
@param string $var
@return $this | setAuthPassword | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPInboundTrunkInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPInboundTrunkInfo.php | Apache-2.0 |
public function getHeadersToAttributes()
{
return $this->headers_to_attributes;
} | Map SIP X-* headers from INVITE to SIP participant attributes.
Generated from protobuf field <code>map<string, string> headers_to_attributes = 10;</code>
@return \Google\Protobuf\Internal\MapField | getHeadersToAttributes | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPInboundTrunkInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPInboundTrunkInfo.php | Apache-2.0 |
public function setHeadersToAttributes($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
$this->headers_to_attributes = $arr;
return $this;
} | Map SIP X-* headers from INVITE to SIP participant attributes.
Generated from protobuf field <code>map<string, string> headers_to_attributes = 10;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setHeadersToAttributes | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPInboundTrunkInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPInboundTrunkInfo.php | Apache-2.0 |
public function getAttributesToHeaders()
{
return $this->attributes_to_headers;
} | Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.
Keys are the names of attributes and values are the names of X-* headers they will be mapped to.
Generated from protobuf field <code>map<string, string> attributes_to_headers = 14;</code>
@return \Google\Protobuf\Internal\MapField | getAttributesToHeaders | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPInboundTrunkInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPInboundTrunkInfo.php | Apache-2.0 |
public function setAttributesToHeaders($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
$this->attributes_to_headers = $arr;
return $this;
} | Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests.
Keys are the names of attributes and values are the names of X-* headers they will be mapped to.
Generated from protobuf field <code>map<string, string> attributes_to_headers = 14;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setAttributesToHeaders | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SIPInboundTrunkInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPInboundTrunkInfo.php | Apache-2.0 |
public function getRequestId()
{
return $this->request_id;
} | Generated from protobuf field <code>string request_id = 1;</code>
@return string | getRequestId | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RpcResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RpcResponse.php | Apache-2.0 |
public function setRequestId($var)
{
GPBUtil::checkString($var, True);
$this->request_id = $var;
return $this;
} | Generated from protobuf field <code>string request_id = 1;</code>
@param string $var
@return $this | setRequestId | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RpcResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RpcResponse.php | Apache-2.0 |
public function getPayload()
{
return $this->readOneof(2);
} | Generated from protobuf field <code>string payload = 2;</code>
@return string | getPayload | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RpcResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RpcResponse.php | Apache-2.0 |
public function setPayload($var)
{
GPBUtil::checkString($var, True);
$this->writeOneof(2, $var);
return $this;
} | Generated from protobuf field <code>string payload = 2;</code>
@param string $var
@return $this | setPayload | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RpcResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RpcResponse.php | Apache-2.0 |
public function getError()
{
return $this->readOneof(3);
} | Generated from protobuf field <code>.livekit.RpcError error = 3;</code>
@return \Livekit\RpcError|null | getError | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RpcResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RpcResponse.php | Apache-2.0 |
public function setError($var)
{
GPBUtil::checkMessage($var, \Livekit\RpcError::class);
$this->writeOneof(3, $var);
return $this;
} | Generated from protobuf field <code>.livekit.RpcError error = 3;</code>
@param \Livekit\RpcError $var
@return $this | setError | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RpcResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RpcResponse.php | Apache-2.0 |
public function setRoom($var)
{
GPBUtil::checkMessage($var, \Livekit\RoomCompositeEgressRequest::class);
$this->room = $var;
return $this;
} | Generated from protobuf field <code>.livekit.RoomCompositeEgressRequest room = 1;</code>
@param \Livekit\RoomCompositeEgressRequest $var
@return $this | setRoom | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RoomEgress.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomEgress.php | Apache-2.0 |
public function setParticipant($var)
{
GPBUtil::checkMessage($var, \Livekit\AutoParticipantEgress::class);
$this->participant = $var;
return $this;
} | Generated from protobuf field <code>.livekit.AutoParticipantEgress participant = 3;</code>
@param \Livekit\AutoParticipantEgress $var
@return $this | setParticipant | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RoomEgress.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomEgress.php | Apache-2.0 |
public function getTracks()
{
return $this->tracks;
} | Generated from protobuf field <code>.livekit.AutoTrackEgress tracks = 2;</code>
@return \Livekit\AutoTrackEgress|null | getTracks | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RoomEgress.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomEgress.php | Apache-2.0 |
public function setTracks($var)
{
GPBUtil::checkMessage($var, \Livekit\AutoTrackEgress::class);
$this->tracks = $var;
return $this;
} | Generated from protobuf field <code>.livekit.AutoTrackEgress tracks = 2;</code>
@param \Livekit\AutoTrackEgress $var
@return $this | setTracks | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RoomEgress.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomEgress.php | Apache-2.0 |
public function getRoomId()
{
return $this->room_id;
} | Generated from protobuf field <code>string room_id = 2;</code>
@return string | getRoomId | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function setRoomId($var)
{
GPBUtil::checkString($var, True);
$this->room_id = $var;
return $this;
} | Generated from protobuf field <code>string room_id = 2;</code>
@param string $var
@return $this | setRoomId | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function getSourceType()
{
return $this->source_type;
} | Generated from protobuf field <code>.livekit.EgressSourceType source_type = 26;</code>
@return int | getSourceType | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function setSourceType($var)
{
GPBUtil::checkEnum($var, \Livekit\EgressSourceType::class);
$this->source_type = $var;
return $this;
} | Generated from protobuf field <code>.livekit.EgressSourceType source_type = 26;</code>
@param int $var
@return $this | setSourceType | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function getStatus()
{
return $this->status;
} | Generated from protobuf field <code>.livekit.EgressStatus status = 3;</code>
@return int | getStatus | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function setStatus($var)
{
GPBUtil::checkEnum($var, \Livekit\EgressStatus::class);
$this->status = $var;
return $this;
} | Generated from protobuf field <code>.livekit.EgressStatus status = 3;</code>
@param int $var
@return $this | setStatus | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function getUpdatedAt()
{
return $this->updated_at;
} | Generated from protobuf field <code>int64 updated_at = 18;</code>
@return int|string | getUpdatedAt | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function setUpdatedAt($var)
{
GPBUtil::checkInt64($var);
$this->updated_at = $var;
return $this;
} | Generated from protobuf field <code>int64 updated_at = 18;</code>
@param int|string $var
@return $this | setUpdatedAt | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function getDetails()
{
return $this->details;
} | Generated from protobuf field <code>string details = 21;</code>
@return string | getDetails | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function setDetails($var)
{
GPBUtil::checkString($var, True);
$this->details = $var;
return $this;
} | Generated from protobuf field <code>string details = 21;</code>
@param string $var
@return $this | setDetails | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function getError()
{
return $this->error;
} | Generated from protobuf field <code>string error = 9;</code>
@return string | getError | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function setError($var)
{
GPBUtil::checkString($var, True);
$this->error = $var;
return $this;
} | Generated from protobuf field <code>string error = 9;</code>
@param string $var
@return $this | setError | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function getErrorCode()
{
return $this->error_code;
} | Generated from protobuf field <code>int32 error_code = 22;</code>
@return int | getErrorCode | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function setErrorCode($var)
{
GPBUtil::checkInt32($var);
$this->error_code = $var;
return $this;
} | Generated from protobuf field <code>int32 error_code = 22;</code>
@param int $var
@return $this | setErrorCode | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function getRoomComposite()
{
return $this->readOneof(4);
} | Generated from protobuf field <code>.livekit.RoomCompositeEgressRequest room_composite = 4;</code>
@return \Livekit\RoomCompositeEgressRequest|null | getRoomComposite | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function setRoomComposite($var)
{
GPBUtil::checkMessage($var, \Livekit\RoomCompositeEgressRequest::class);
$this->writeOneof(4, $var);
return $this;
} | Generated from protobuf field <code>.livekit.RoomCompositeEgressRequest room_composite = 4;</code>
@param \Livekit\RoomCompositeEgressRequest $var
@return $this | setRoomComposite | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function getWeb()
{
return $this->readOneof(14);
} | Generated from protobuf field <code>.livekit.WebEgressRequest web = 14;</code>
@return \Livekit\WebEgressRequest|null | getWeb | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function setWeb($var)
{
GPBUtil::checkMessage($var, \Livekit\WebEgressRequest::class);
$this->writeOneof(14, $var);
return $this;
} | Generated from protobuf field <code>.livekit.WebEgressRequest web = 14;</code>
@param \Livekit\WebEgressRequest $var
@return $this | setWeb | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function getParticipant()
{
return $this->readOneof(19);
} | Generated from protobuf field <code>.livekit.ParticipantEgressRequest participant = 19;</code>
@return \Livekit\ParticipantEgressRequest|null | getParticipant | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function setParticipant($var)
{
GPBUtil::checkMessage($var, \Livekit\ParticipantEgressRequest::class);
$this->writeOneof(19, $var);
return $this;
} | Generated from protobuf field <code>.livekit.ParticipantEgressRequest participant = 19;</code>
@param \Livekit\ParticipantEgressRequest $var
@return $this | setParticipant | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function getTrackComposite()
{
return $this->readOneof(5);
} | Generated from protobuf field <code>.livekit.TrackCompositeEgressRequest track_composite = 5;</code>
@return \Livekit\TrackCompositeEgressRequest|null | getTrackComposite | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function setTrackComposite($var)
{
GPBUtil::checkMessage($var, \Livekit\TrackCompositeEgressRequest::class);
$this->writeOneof(5, $var);
return $this;
} | Generated from protobuf field <code>.livekit.TrackCompositeEgressRequest track_composite = 5;</code>
@param \Livekit\TrackCompositeEgressRequest $var
@return $this | setTrackComposite | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function getTrack()
{
return $this->readOneof(6);
} | Generated from protobuf field <code>.livekit.TrackEgressRequest track = 6;</code>
@return \Livekit\TrackEgressRequest|null | getTrack | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
public function setTrack($var)
{
GPBUtil::checkMessage($var, \Livekit\TrackEgressRequest::class);
$this->writeOneof(6, $var);
return $this;
} | Generated from protobuf field <code>.livekit.TrackEgressRequest track = 6;</code>
@param \Livekit\TrackEgressRequest $var
@return $this | setTrack | php | agence104/livekit-server-sdk-php | src/proto/Livekit/EgressInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EgressInfo.php | Apache-2.0 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.