code
stringlengths
17
296k
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 getSipTrunkId() { return $this->sip_trunk_id; }
Generated from protobuf field <code>string sip_trunk_id = 1;</code> @return string
getSipTrunkId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/DeleteSIPTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/DeleteSIPTrunkRequest.php
Apache-2.0
public function setSipTrunkId($var) { GPBUtil::checkString($var, True); $this->sip_trunk_id = $var; return $this; }
Generated from protobuf field <code>string sip_trunk_id = 1;</code> @param string $var @return $this
setSipTrunkId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/DeleteSIPTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/DeleteSIPTrunkRequest.php
Apache-2.0
public function getRoom() { return $this->room; }
Generated from protobuf field <code>string room = 1;</code> @return string
getRoom
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 setRoom($var) { GPBUtil::checkString($var, True); $this->room = $var; return $this; }
Generated from protobuf field <code>string room = 1;</code> @param string $var @return $this
setRoom
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 getIdentity() { return $this->identity; }
Generated from protobuf field <code>string identity = 2;</code> @return string
getIdentity
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 setIdentity($var) { GPBUtil::checkString($var, True); $this->identity = $var; return $this; }
Generated from protobuf field <code>string identity = 2;</code> @param string $var @return $this
setIdentity
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 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 getStartedAt() { return $this->started_at; }
Generated from protobuf field <code>int64 started_at = 2;</code> @return int|string
getStartedAt
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 setStartedAt($var) { GPBUtil::checkInt64($var); $this->started_at = $var; return $this; }
Generated from protobuf field <code>int64 started_at = 2;</code> @param int|string $var @return $this
setStartedAt
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 getEndedAt() { return $this->ended_at; }
Generated from protobuf field <code>int64 ended_at = 3;</code> @return int|string
getEndedAt
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 setEndedAt($var) { GPBUtil::checkInt64($var); $this->ended_at = $var; return $this; }
Generated from protobuf field <code>int64 ended_at = 3;</code> @param int|string $var @return $this
setEndedAt
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 getRoom() { return $this->room; }
Generated from protobuf field <code>string room = 2;</code> @return string
getRoom
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 setRoom($var) { GPBUtil::checkString($var, True); $this->room = $var; return $this; }
Generated from protobuf field <code>string room = 2;</code> @param string $var @return $this
setRoom
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 getDispatchId() { return $this->dispatch_id; }
if set, only the dispatch whose id is given will be returned Generated from protobuf field <code>string dispatch_id = 1;</code> @return string
getDispatchId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListAgentDispatchRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListAgentDispatchRequest.php
Apache-2.0
public function setDispatchId($var) { GPBUtil::checkString($var, True); $this->dispatch_id = $var; return $this; }
if set, only the dispatch whose id is given will be returned 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/ListAgentDispatchRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListAgentDispatchRequest.php
Apache-2.0
public function getRoom() { return $this->room; }
name of the room to list agents for. Must be set. Generated from protobuf field <code>string room = 2;</code> @return string
getRoom
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListAgentDispatchRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListAgentDispatchRequest.php
Apache-2.0
public function setRoom($var) { GPBUtil::checkString($var, True); $this->room = $var; return $this; }
name of the room to list agents for. Must be set. Generated from protobuf field <code>string room = 2;</code> @param string $var @return $this
setRoom
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListAgentDispatchRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListAgentDispatchRequest.php
Apache-2.0
public function getLabel() { return $this->label; }
Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index in the `str_data` field of `MetricsBatch` Generated from protobuf field <code>uint32 label = 1;</code> @return int
getLabel
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 setLabel($var) { GPBUtil::checkUint32($var); $this->label = $var; return $this; }
Metric name e.g "speech_probablity". The string value is not directly stored in the message, but referenced by index in the `str_data` field of `MetricsBatch` Generated from protobuf field <code>uint32 label = 1;</code> @param int $var @return $this
setLabel
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 getParticipantIdentity() { return $this->participant_identity; }
index into `str_data` Generated from protobuf field <code>uint32 participant_identity = 2;</code> @return int
getParticipantIdentity
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 setParticipantIdentity($var) { GPBUtil::checkUint32($var); $this->participant_identity = $var; return $this; }
index into `str_data` Generated from protobuf field <code>uint32 participant_identity = 2;</code> @param int $var @return $this
setParticipantIdentity
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 getTrackSid() { return $this->track_sid; }
index into `str_data` Generated from protobuf field <code>uint32 track_sid = 3;</code> @return int
getTrackSid
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 setTrackSid($var) { GPBUtil::checkUint32($var); $this->track_sid = $var; return $this; }
index into `str_data` Generated from protobuf field <code>uint32 track_sid = 3;</code> @param int $var @return $this
setTrackSid
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 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 getRid() { return $this->rid; }
index into 'str_data' Generated from protobuf field <code>uint32 rid = 5;</code> @return int
getRid
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 setRid($var) { GPBUtil::checkUint32($var); $this->rid = $var; return $this; }
index into 'str_data' Generated from protobuf field <code>uint32 rid = 5;</code> @param int $var @return $this
setRid
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 getRegion() { return $this->region; }
Generated from protobuf field <code>string region = 3;</code> @return string
getRegion
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 setRegion($var) { GPBUtil::checkString($var, True); $this->region = $var; return $this; }
Generated from protobuf field <code>string region = 3;</code> @param string $var @return $this
setRegion
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 getParticipantIdentity() { return $this->participant_identity; }
Generated from protobuf field <code>string participant_identity = 1;</code> @return string
getParticipantIdentity
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 setParticipantIdentity($var) { GPBUtil::checkString($var, True); $this->participant_identity = $var; return $this; }
Generated from protobuf field <code>string participant_identity = 1;</code> @param string $var @return $this
setParticipantIdentity
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 getRoomName() { return $this->room_name; }
Generated from protobuf field <code>string room_name = 2;</code> @return string
getRoomName
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 setRoomName($var) { GPBUtil::checkString($var, True); $this->room_name = $var; return $this; }
Generated from protobuf field <code>string room_name = 2;</code> @param string $var @return $this
setRoomName
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 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 getPlayDialtone() { return $this->play_dialtone; }
Optionally play dialtone to the SIP participant as an audible indicator of being transferred Generated from protobuf field <code>bool play_dialtone = 4;</code> @return bool
getPlayDialtone
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 setPlayDialtone($var) { GPBUtil::checkBool($var); $this->play_dialtone = $var; return $this; }
Optionally play dialtone to the SIP participant as an audible indicator of being transferred Generated from protobuf field <code>bool play_dialtone = 4;</code> @param bool $var @return $this
setPlayDialtone
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 getHeaders() { return $this->headers; }
Add the following headers to the REFER SIP request. Generated from protobuf field <code>map<string, string> headers = 5;</code> @return \Google\Protobuf\Internal\MapField
getHeaders
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 setHeaders($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); $this->headers = $arr; return $this; }
Add the following headers to the REFER SIP request. Generated from protobuf field <code>map<string, string> headers = 5;</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setHeaders
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 getSipTrunkId() { return $this->sip_trunk_id; }
Generated from protobuf field <code>string sip_trunk_id = 1;</code> @return string
getSipTrunkId
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 setSipTrunkId($var) { GPBUtil::checkString($var, True); $this->sip_trunk_id = $var; return $this; }
Generated from protobuf field <code>string sip_trunk_id = 1;</code> @param string $var @return $this
setSipTrunkId
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 getName() { return $this->name; }
Human-readable name for the Trunk. Generated from protobuf field <code>string name = 2;</code> @return string
getName
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 setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Human-readable name for the Trunk. Generated from protobuf field <code>string name = 2;</code> @param string $var @return $this
setName
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 getMetadata() { return $this->metadata; }
User-defined metadata for the Trunk. Generated from protobuf field <code>string metadata = 3;</code> @return string
getMetadata
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 setMetadata($var) { GPBUtil::checkString($var, True); $this->metadata = $var; return $this; }
User-defined metadata for the Trunk. Generated from protobuf field <code>string metadata = 3;</code> @param string $var @return $this
setMetadata
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 getNumbers() { return $this->numbers; }
Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider. Generated from protobuf field <code>repeated string numbers = 4;</code> @return \Google\Protobuf\Internal\RepeatedField
getNumbers
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 setNumbers($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->numbers = $arr; return $this; }
Numbers associated with LiveKit SIP. The Trunk will only accept calls made to these numbers. Creating multiple Trunks with different phone numbers allows having different rules for a single provider. Generated from protobuf field <code>repeated string numbers = 4;</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setNumbers
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 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 getHeaders() { return $this->headers; }
Include these SIP X-* headers in 200 OK responses. Generated from protobuf field <code>map<string, string> headers = 9;</code> @return \Google\Protobuf\Internal\MapField
getHeaders
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 setHeaders($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); $this->headers = $arr; return $this; }
Include these SIP X-* headers in 200 OK responses. Generated from protobuf field <code>map<string, string> headers = 9;</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setHeaders
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 getIncludeHeaders() { return $this->include_headers; }
Map SIP headers from INVITE to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping INVITE headers to response headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header. Generated from protobuf field <code>.livekit.SIPHeaderOptions include_headers = 15;</code> @return int
getIncludeHeaders
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 setIncludeHeaders($var) { GPBUtil::checkEnum($var, \Livekit\SIPHeaderOptions::class); $this->include_headers = $var; return $this; }
Map SIP headers from INVITE to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping INVITE headers to response headers with attributes_to_headers map, lowercase header names should be used, for example: sip.h.x-custom-header. Generated from protobuf field <code>.livekit.SIPHeaderOptions include_headers = 15;</code> @param int $var @return $this
setIncludeHeaders
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 getRingingTimeout() { return $this->ringing_timeout; }
Max time for the caller to wait for track subscription. Generated from protobuf field <code>.google.protobuf.Duration ringing_timeout = 11;</code> @return \Google\Protobuf\Duration|null
getRingingTimeout
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 setRingingTimeout($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); $this->ringing_timeout = $var; return $this; }
Max time for the caller to wait for track subscription. Generated from protobuf field <code>.google.protobuf.Duration ringing_timeout = 11;</code> @param \Google\Protobuf\Duration $var @return $this
setRingingTimeout
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