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 getInboundNumbers() { return $this->inbound_numbers; }
Accepted `To` values. This Trunk will only accept a call made to these numbers. This allows you to have distinct Trunks for different phone numbers at the same provider. Generated from protobuf field <code>repeated string inbound_numbers = 9;</code> @return \Google\Protobuf\Internal\RepeatedField
getInboundNumbers
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPTrunkRequest.php
Apache-2.0
public function setInboundNumbers($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->inbound_numbers = $arr; return $this; }
Accepted `To` values. This Trunk will only accept a call made to these numbers. This allows you to have distinct Trunks for different phone numbers at the same provider. Generated from protobuf field <code>repeated string inbound_numbers = 9;</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setInboundNumbers
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPTrunkRequest.php
Apache-2.0
public function getInboundUsername() { return $this->inbound_username; }
Username and password used to authenticate inbound and outbound SIP invites May be empty to have no Authentication Generated from protobuf field <code>string inbound_username = 5;</code> @return string
getInboundUsername
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPTrunkRequest.php
Apache-2.0
public function setInboundUsername($var) { GPBUtil::checkString($var, True); $this->inbound_username = $var; return $this; }
Username and password used to authenticate inbound and outbound SIP invites May be empty to have no Authentication Generated from protobuf field <code>string inbound_username = 5;</code> @param string $var @return $this
setInboundUsername
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPTrunkRequest.php
Apache-2.0
public function getInboundPassword() { return $this->inbound_password; }
Generated from protobuf field <code>string inbound_password = 6;</code> @return string
getInboundPassword
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPTrunkRequest.php
Apache-2.0
public function setInboundPassword($var) { GPBUtil::checkString($var, True); $this->inbound_password = $var; return $this; }
Generated from protobuf field <code>string inbound_password = 6;</code> @param string $var @return $this
setInboundPassword
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPTrunkRequest.php
Apache-2.0
public function getOutboundUsername() { return $this->outbound_username; }
Generated from protobuf field <code>string outbound_username = 7;</code> @return string
getOutboundUsername
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPTrunkRequest.php
Apache-2.0
public function setOutboundUsername($var) { GPBUtil::checkString($var, True); $this->outbound_username = $var; return $this; }
Generated from protobuf field <code>string outbound_username = 7;</code> @param string $var @return $this
setOutboundUsername
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPTrunkRequest.php
Apache-2.0
public function getOutboundPassword() { return $this->outbound_password; }
Generated from protobuf field <code>string outbound_password = 8;</code> @return string
getOutboundPassword
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPTrunkRequest.php
Apache-2.0
public function setOutboundPassword($var) { GPBUtil::checkString($var, True); $this->outbound_password = $var; return $this; }
Generated from protobuf field <code>string outbound_password = 8;</code> @param string $var @return $this
setOutboundPassword
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPTrunkRequest.php
Apache-2.0
public function getName() { return $this->name; }
Optional human-readable name for the Trunk. Generated from protobuf field <code>string name = 10;</code> @return string
getName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPTrunkRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Optional human-readable name for the Trunk. Generated from protobuf field <code>string name = 10;</code> @param string $var @return $this
setName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPTrunkRequest.php
Apache-2.0
public function getMetadata() { return $this->metadata; }
Optional user-defined metadata for the Trunk. Generated from protobuf field <code>string metadata = 11;</code> @return string
getMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPTrunkRequest.php
Apache-2.0
public function setMetadata($var) { GPBUtil::checkString($var, True); $this->metadata = $var; return $this; }
Optional user-defined metadata for the Trunk. Generated from protobuf field <code>string metadata = 11;</code> @param string $var @return $this
setMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPTrunkRequest.php
Apache-2.0
public function getType() { return $this->type; }
Generated from protobuf field <code>.livekit.JobType type = 1;</code> @return int
getType
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SimulateJobRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SimulateJobRequest.php
Apache-2.0
public function setType($var) { GPBUtil::checkEnum($var, \Livekit\JobType::class); $this->type = $var; return $this; }
Generated from protobuf field <code>.livekit.JobType type = 1;</code> @param int $var @return $this
setType
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SimulateJobRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SimulateJobRequest.php
Apache-2.0
public function getRoom() { return $this->room; }
Generated from protobuf field <code>.livekit.Room room = 2;</code> @return \Livekit\Room|null
getRoom
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SimulateJobRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SimulateJobRequest.php
Apache-2.0
public function setRoom($var) { GPBUtil::checkMessage($var, \Livekit\Room::class); $this->room = $var; return $this; }
Generated from protobuf field <code>.livekit.Room room = 2;</code> @param \Livekit\Room $var @return $this
setRoom
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SimulateJobRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SimulateJobRequest.php
Apache-2.0
public function getParticipant() { return $this->participant; }
Generated from protobuf field <code>.livekit.ParticipantInfo participant = 3;</code> @return \Livekit\ParticipantInfo|null
getParticipant
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SimulateJobRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SimulateJobRequest.php
Apache-2.0
public function setParticipant($var) { GPBUtil::checkMessage($var, \Livekit\ParticipantInfo::class); $this->participant = $var; return $this; }
Generated from protobuf field <code>.livekit.ParticipantInfo participant = 3;</code> @param \Livekit\ParticipantInfo $var @return $this
setParticipant
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SimulateJobRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SimulateJobRequest.php
Apache-2.0
public function getSdk() { return $this->sdk; }
Generated from protobuf field <code>.livekit.ClientInfo.SDK sdk = 1;</code> @return int
getSdk
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function setSdk($var) { GPBUtil::checkEnum($var, \Livekit\ClientInfo\SDK::class); $this->sdk = $var; return $this; }
Generated from protobuf field <code>.livekit.ClientInfo.SDK sdk = 1;</code> @param int $var @return $this
setSdk
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function getVersion() { return $this->version; }
Generated from protobuf field <code>string version = 2;</code> @return string
getVersion
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function setVersion($var) { GPBUtil::checkString($var, True); $this->version = $var; return $this; }
Generated from protobuf field <code>string version = 2;</code> @param string $var @return $this
setVersion
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function getProtocol() { return $this->protocol; }
Generated from protobuf field <code>int32 protocol = 3;</code> @return int
getProtocol
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function setProtocol($var) { GPBUtil::checkInt32($var); $this->protocol = $var; return $this; }
Generated from protobuf field <code>int32 protocol = 3;</code> @param int $var @return $this
setProtocol
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function getOs() { return $this->os; }
Generated from protobuf field <code>string os = 4;</code> @return string
getOs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function setOs($var) { GPBUtil::checkString($var, True); $this->os = $var; return $this; }
Generated from protobuf field <code>string os = 4;</code> @param string $var @return $this
setOs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function getOsVersion() { return $this->os_version; }
Generated from protobuf field <code>string os_version = 5;</code> @return string
getOsVersion
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function setOsVersion($var) { GPBUtil::checkString($var, True); $this->os_version = $var; return $this; }
Generated from protobuf field <code>string os_version = 5;</code> @param string $var @return $this
setOsVersion
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function getDeviceModel() { return $this->device_model; }
Generated from protobuf field <code>string device_model = 6;</code> @return string
getDeviceModel
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function setDeviceModel($var) { GPBUtil::checkString($var, True); $this->device_model = $var; return $this; }
Generated from protobuf field <code>string device_model = 6;</code> @param string $var @return $this
setDeviceModel
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function getBrowser() { return $this->browser; }
Generated from protobuf field <code>string browser = 7;</code> @return string
getBrowser
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function setBrowser($var) { GPBUtil::checkString($var, True); $this->browser = $var; return $this; }
Generated from protobuf field <code>string browser = 7;</code> @param string $var @return $this
setBrowser
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function getBrowserVersion() { return $this->browser_version; }
Generated from protobuf field <code>string browser_version = 8;</code> @return string
getBrowserVersion
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function setBrowserVersion($var) { GPBUtil::checkString($var, True); $this->browser_version = $var; return $this; }
Generated from protobuf field <code>string browser_version = 8;</code> @param string $var @return $this
setBrowserVersion
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function getAddress() { return $this->address; }
Generated from protobuf field <code>string address = 9;</code> @return string
getAddress
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function setAddress($var) { GPBUtil::checkString($var, True); $this->address = $var; return $this; }
Generated from protobuf field <code>string address = 9;</code> @param string $var @return $this
setAddress
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function getNetwork() { return $this->network; }
wifi, wired, cellular, vpn, empty if not known Generated from protobuf field <code>string network = 10;</code> @return string
getNetwork
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function setNetwork($var) { GPBUtil::checkString($var, True); $this->network = $var; return $this; }
wifi, wired, cellular, vpn, empty if not known Generated from protobuf field <code>string network = 10;</code> @param string $var @return $this
setNetwork
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function getOtherSdks() { return $this->other_sdks; }
comma separated list of additional LiveKit SDKs in use of this client, with versions e.g. "components-js:1.2.3,track-processors-js:1.2.3" Generated from protobuf field <code>string other_sdks = 11;</code> @return string
getOtherSdks
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function setOtherSdks($var) { GPBUtil::checkString($var, True); $this->other_sdks = $var; return $this; }
comma separated list of additional LiveKit SDKs in use of this client, with versions e.g. "components-js:1.2.3,track-processors-js:1.2.3" Generated from protobuf field <code>string other_sdks = 11;</code> @param string $var @return $this
setOtherSdks
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientInfo.php
Apache-2.0
public function getSipTrunkId() { return $this->sip_trunk_id; }
What SIP Trunk should be used to dial the user Generated from protobuf field <code>string sip_trunk_id = 1;</code> @return string
getSipTrunkId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setSipTrunkId($var) { GPBUtil::checkString($var, True); $this->sip_trunk_id = $var; return $this; }
What SIP Trunk should be used to dial the user 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/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getTrunk() { return $this->trunk; }
Generated from protobuf field <code>.livekit.SIPOutboundConfig trunk = 20;</code> @return \Livekit\SIPOutboundConfig|null
getTrunk
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setTrunk($var) { GPBUtil::checkMessage($var, \Livekit\SIPOutboundConfig::class); $this->trunk = $var; return $this; }
Generated from protobuf field <code>.livekit.SIPOutboundConfig trunk = 20;</code> @param \Livekit\SIPOutboundConfig $var @return $this
setTrunk
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getSipCallTo() { return $this->sip_call_to; }
What number should be dialed via SIP Generated from protobuf field <code>string sip_call_to = 2;</code> @return string
getSipCallTo
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setSipCallTo($var) { GPBUtil::checkString($var, True); $this->sip_call_to = $var; return $this; }
What number should be dialed via SIP Generated from protobuf field <code>string sip_call_to = 2;</code> @param string $var @return $this
setSipCallTo
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getSipNumber() { return $this->sip_number; }
Optional SIP From number to use. If empty, trunk number is used. Generated from protobuf field <code>string sip_number = 15;</code> @return string
getSipNumber
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setSipNumber($var) { GPBUtil::checkString($var, True); $this->sip_number = $var; return $this; }
Optional SIP From number to use. If empty, trunk number is used. Generated from protobuf field <code>string sip_number = 15;</code> @param string $var @return $this
setSipNumber
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getRoomName() { return $this->room_name; }
What LiveKit room should this participant be connected too Generated from protobuf field <code>string room_name = 3;</code> @return string
getRoomName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setRoomName($var) { GPBUtil::checkString($var, True); $this->room_name = $var; return $this; }
What LiveKit room should this participant be connected too Generated from protobuf field <code>string room_name = 3;</code> @param string $var @return $this
setRoomName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getParticipantIdentity() { return $this->participant_identity; }
Optional identity of the participant in LiveKit room Generated from protobuf field <code>string participant_identity = 4;</code> @return string
getParticipantIdentity
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setParticipantIdentity($var) { GPBUtil::checkString($var, True); $this->participant_identity = $var; return $this; }
Optional identity of the participant in LiveKit room Generated from protobuf field <code>string participant_identity = 4;</code> @param string $var @return $this
setParticipantIdentity
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getParticipantName() { return $this->participant_name; }
Optional name of the participant in LiveKit room Generated from protobuf field <code>string participant_name = 7;</code> @return string
getParticipantName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setParticipantName($var) { GPBUtil::checkString($var, True); $this->participant_name = $var; return $this; }
Optional name of the participant in LiveKit room Generated from protobuf field <code>string participant_name = 7;</code> @param string $var @return $this
setParticipantName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getParticipantMetadata() { return $this->participant_metadata; }
Optional user-defined metadata. Will be attached to a created Participant in the room. Generated from protobuf field <code>string participant_metadata = 8;</code> @return string
getParticipantMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setParticipantMetadata($var) { GPBUtil::checkString($var, True); $this->participant_metadata = $var; return $this; }
Optional user-defined metadata. Will be attached to a created Participant in the room. Generated from protobuf field <code>string participant_metadata = 8;</code> @param string $var @return $this
setParticipantMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getParticipantAttributes() { return $this->participant_attributes; }
Optional user-defined attributes. Will be attached to a created Participant in the room. Generated from protobuf field <code>map<string, string> participant_attributes = 9;</code> @return \Google\Protobuf\Internal\MapField
getParticipantAttributes
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setParticipantAttributes($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); $this->participant_attributes = $arr; return $this; }
Optional user-defined attributes. Will be attached to a created Participant in the room. Generated from protobuf field <code>map<string, string> participant_attributes = 9;</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setParticipantAttributes
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getDtmf() { return $this->dtmf; }
Optionally send following DTMF digits (extension codes) when making a call. Character 'w' can be used to add a 0.5 sec delay. Generated from protobuf field <code>string dtmf = 5;</code> @return string
getDtmf
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setDtmf($var) { GPBUtil::checkString($var, True); $this->dtmf = $var; return $this; }
Optionally send following DTMF digits (extension codes) when making a call. Character 'w' can be used to add a 0.5 sec delay. Generated from protobuf field <code>string dtmf = 5;</code> @param string $var @return $this
setDtmf
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getPlayRingtone() { @trigger_error('play_ringtone is deprecated.', E_USER_DEPRECATED); return $this->play_ringtone; }
Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect. Generated from protobuf field <code>bool play_ringtone = 6 [deprecated = true];</code> @return bool @deprecated
getPlayRingtone
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setPlayRingtone($var) { @trigger_error('play_ringtone is deprecated.', E_USER_DEPRECATED); GPBUtil::checkBool($var); $this->play_ringtone = $var; return $this; }
Optionally play dialtone in the room as an audible indicator for existing participants. The `play_ringtone` option is deprectated but has the same effect. Generated from protobuf field <code>bool play_ringtone = 6 [deprecated = true];</code> @param bool $var @return $this @deprecated
setPlayRingtone
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getPlayDialtone() { return $this->play_dialtone; }
Generated from protobuf field <code>bool play_dialtone = 13;</code> @return bool
getPlayDialtone
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setPlayDialtone($var) { GPBUtil::checkBool($var); $this->play_dialtone = $var; return $this; }
Generated from protobuf field <code>bool play_dialtone = 13;</code> @param bool $var @return $this
setPlayDialtone
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getHidePhoneNumber() { return $this->hide_phone_number; }
By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes. If true, a random value for identity will be used and numbers will be omitted from attributes. Generated from protobuf field <code>bool hide_phone_number = 10;</code> @return bool
getHidePhoneNumber
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setHidePhoneNumber($var) { GPBUtil::checkBool($var); $this->hide_phone_number = $var; return $this; }
By default the From value (Phone number) is used for participant name/identity (if not set) and added to attributes. If true, a random value for identity will be used and numbers will be omitted from attributes. Generated from protobuf field <code>bool hide_phone_number = 10;</code> @param bool $var @return $this
setHidePhoneNumber
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getHeaders() { return $this->headers; }
These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. Generated from protobuf field <code>map<string, string> headers = 16;</code> @return \Google\Protobuf\Internal\MapField
getHeaders
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.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; }
These headers are sent as-is and may help identify this call as coming from LiveKit for the other SIP endpoint. Generated from protobuf field <code>map<string, string> headers = 16;</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setHeaders
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getIncludeHeaders() { return $this->include_headers; }
Map SIP headers from 200 OK to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping 200 OK headers to follow-up request 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 = 17;</code> @return int
getIncludeHeaders
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setIncludeHeaders($var) { GPBUtil::checkEnum($var, \Livekit\SIPHeaderOptions::class); $this->include_headers = $var; return $this; }
Map SIP headers from 200 OK to sip.h.* participant attributes automatically. When the names of required headers is known, using headers_to_attributes is strongly recommended. When mapping 200 OK headers to follow-up request 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 = 17;</code> @param int $var @return $this
setIncludeHeaders
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getRingingTimeout() { return $this->ringing_timeout; }
Max time for the callee to answer the call. 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/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.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 callee to answer the call. 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/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getMaxCallDuration() { return $this->max_call_duration; }
Max call duration. Generated from protobuf field <code>.google.protobuf.Duration max_call_duration = 12;</code> @return \Google\Protobuf\Duration|null
getMaxCallDuration
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setMaxCallDuration($var) { GPBUtil::checkMessage($var, \Google\Protobuf\Duration::class); $this->max_call_duration = $var; return $this; }
Max call duration. Generated from protobuf field <code>.google.protobuf.Duration max_call_duration = 12;</code> @param \Google\Protobuf\Duration $var @return $this
setMaxCallDuration
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getKrispEnabled() { return $this->krisp_enabled; }
Enable voice isolation for the callee. Generated from protobuf field <code>bool krisp_enabled = 14;</code> @return bool
getKrispEnabled
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setKrispEnabled($var) { GPBUtil::checkBool($var); $this->krisp_enabled = $var; return $this; }
Enable voice isolation for the callee. Generated from protobuf field <code>bool krisp_enabled = 14;</code> @param bool $var @return $this
setKrispEnabled
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getMediaEncryption() { return $this->media_encryption; }
Generated from protobuf field <code>.livekit.SIPMediaEncryption media_encryption = 18;</code> @return int
getMediaEncryption
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setMediaEncryption($var) { GPBUtil::checkEnum($var, \Livekit\SIPMediaEncryption::class); $this->media_encryption = $var; return $this; }
Generated from protobuf field <code>.livekit.SIPMediaEncryption media_encryption = 18;</code> @param int $var @return $this
setMediaEncryption
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getWaitUntilAnswered() { return $this->wait_until_answered; }
Wait for the answer for the call before returning. Generated from protobuf field <code>bool wait_until_answered = 19;</code> @return bool
getWaitUntilAnswered
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function setWaitUntilAnswered($var) { GPBUtil::checkBool($var); $this->wait_until_answered = $var; return $this; }
Wait for the answer for the call before returning. Generated from protobuf field <code>bool wait_until_answered = 19;</code> @param bool $var @return $this
setWaitUntilAnswered
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPParticipantRequest.php
Apache-2.0
public function getName() { return $this->name; }
Generated from protobuf field <code>string name = 1;</code> @return string
getName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/IngressAudioOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressAudioOptions.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Generated from protobuf field <code>string name = 1;</code> @param string $var @return $this
setName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/IngressAudioOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressAudioOptions.php
Apache-2.0
public function getSource() { return $this->source; }
Generated from protobuf field <code>.livekit.TrackSource source = 2;</code> @return int
getSource
php
agence104/livekit-server-sdk-php
src/proto/Livekit/IngressAudioOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressAudioOptions.php
Apache-2.0
public function setSource($var) { GPBUtil::checkEnum($var, \Livekit\TrackSource::class); $this->source = $var; return $this; }
Generated from protobuf field <code>.livekit.TrackSource source = 2;</code> @param int $var @return $this
setSource
php
agence104/livekit-server-sdk-php
src/proto/Livekit/IngressAudioOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressAudioOptions.php
Apache-2.0
public function getPreset() { return $this->readOneof(3); }
Generated from protobuf field <code>.livekit.IngressAudioEncodingPreset preset = 3;</code> @return int
getPreset
php
agence104/livekit-server-sdk-php
src/proto/Livekit/IngressAudioOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressAudioOptions.php
Apache-2.0
public function setPreset($var) { GPBUtil::checkEnum($var, \Livekit\IngressAudioEncodingPreset::class); $this->writeOneof(3, $var); return $this; }
Generated from protobuf field <code>.livekit.IngressAudioEncodingPreset preset = 3;</code> @param int $var @return $this
setPreset
php
agence104/livekit-server-sdk-php
src/proto/Livekit/IngressAudioOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressAudioOptions.php
Apache-2.0
public function getOptions() { return $this->readOneof(4); }
Generated from protobuf field <code>.livekit.IngressAudioEncodingOptions options = 4;</code> @return \Livekit\IngressAudioEncodingOptions|null
getOptions
php
agence104/livekit-server-sdk-php
src/proto/Livekit/IngressAudioOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressAudioOptions.php
Apache-2.0
public function setOptions($var) { GPBUtil::checkMessage($var, \Livekit\IngressAudioEncodingOptions::class); $this->writeOneof(4, $var); return $this; }
Generated from protobuf field <code>.livekit.IngressAudioEncodingOptions options = 4;</code> @param \Livekit\IngressAudioEncodingOptions $var @return $this
setOptions
php
agence104/livekit-server-sdk-php
src/proto/Livekit/IngressAudioOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressAudioOptions.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/UpdateParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateParticipantRequest.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/UpdateParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateParticipantRequest.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/UpdateParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateParticipantRequest.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/UpdateParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateParticipantRequest.php
Apache-2.0
public function getMetadata() { return $this->metadata; }
metadata to update. skipping updates if left empty Generated from protobuf field <code>string metadata = 3;</code> @return string
getMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateParticipantRequest.php
Apache-2.0
public function setMetadata($var) { GPBUtil::checkString($var, True); $this->metadata = $var; return $this; }
metadata to update. skipping updates if left empty Generated from protobuf field <code>string metadata = 3;</code> @param string $var @return $this
setMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateParticipantRequest.php
Apache-2.0
public function getPermission() { return $this->permission; }
set to update the participant's permissions Generated from protobuf field <code>.livekit.ParticipantPermission permission = 4;</code> @return \Livekit\ParticipantPermission|null
getPermission
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateParticipantRequest.php
Apache-2.0
public function setPermission($var) { GPBUtil::checkMessage($var, \Livekit\ParticipantPermission::class); $this->permission = $var; return $this; }
set to update the participant's permissions Generated from protobuf field <code>.livekit.ParticipantPermission permission = 4;</code> @param \Livekit\ParticipantPermission $var @return $this
setPermission
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateParticipantRequest.php
Apache-2.0
public function getName() { return $this->name; }
display name to update Generated from protobuf field <code>string name = 5;</code> @return string
getName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateParticipantRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
display name to update Generated from protobuf field <code>string name = 5;</code> @param string $var @return $this
setName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateParticipantRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateParticipantRequest.php
Apache-2.0