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 getInboundPassword() { return $this->inbound_password; }
Generated from protobuf field <code>string inbound_password = 7;</code> @return string
getInboundPassword
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.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 = 7;</code> @param string $var @return $this
setInboundPassword
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function getOutboundUsername() { return $this->outbound_username; }
Generated from protobuf field <code>string outbound_username = 8;</code> @return string
getOutboundUsername
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.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 = 8;</code> @param string $var @return $this
setOutboundUsername
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function getOutboundPassword() { return $this->outbound_password; }
Generated from protobuf field <code>string outbound_password = 9;</code> @return string
getOutboundPassword
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.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 = 9;</code> @param string $var @return $this
setOutboundPassword
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function getName() { return $this->name; }
Human-readable name for the Trunk. Generated from protobuf field <code>string name = 11;</code> @return string
getName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.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 = 11;</code> @param string $var @return $this
setName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function getMetadata() { return $this->metadata; }
User-defined metadata for the Trunk. Generated from protobuf field <code>string metadata = 12;</code> @return string
getMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.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 = 12;</code> @param string $var @return $this
setMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function getRoom() { return $this->room; }
name of the room Generated from protobuf field <code>string room = 1;</code> @return string
getRoom
php
agence104/livekit-server-sdk-php
src/proto/Livekit/DeleteRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/DeleteRoomRequest.php
Apache-2.0
public function setRoom($var) { GPBUtil::checkString($var, True); $this->room = $var; return $this; }
name of the room Generated from protobuf field <code>string room = 1;</code> @param string $var @return $this
setRoom
php
agence104/livekit-server-sdk-php
src/proto/Livekit/DeleteRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/DeleteRoomRequest.php
Apache-2.0
public function getName() { return $this->name; }
Used as ID, must be unique Generated from protobuf field <code>string name = 1;</code> @return string
getName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Used as ID, must be unique Generated from protobuf field <code>string name = 1;</code> @param string $var @return $this
setName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function getEmptyTimeout() { return $this->empty_timeout; }
number of seconds to keep the room open if no one joins Generated from protobuf field <code>uint32 empty_timeout = 2;</code> @return int
getEmptyTimeout
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function setEmptyTimeout($var) { GPBUtil::checkUint32($var); $this->empty_timeout = $var; return $this; }
number of seconds to keep the room open if no one joins Generated from protobuf field <code>uint32 empty_timeout = 2;</code> @param int $var @return $this
setEmptyTimeout
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function getDepartureTimeout() { return $this->departure_timeout; }
number of seconds to keep the room open after everyone leaves Generated from protobuf field <code>uint32 departure_timeout = 3;</code> @return int
getDepartureTimeout
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function setDepartureTimeout($var) { GPBUtil::checkUint32($var); $this->departure_timeout = $var; return $this; }
number of seconds to keep the room open after everyone leaves Generated from protobuf field <code>uint32 departure_timeout = 3;</code> @param int $var @return $this
setDepartureTimeout
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function getMaxParticipants() { return $this->max_participants; }
limit number of participants that can be in a room, excluding Egress and Ingress participants Generated from protobuf field <code>uint32 max_participants = 4;</code> @return int
getMaxParticipants
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function setMaxParticipants($var) { GPBUtil::checkUint32($var); $this->max_participants = $var; return $this; }
limit number of participants that can be in a room, excluding Egress and Ingress participants Generated from protobuf field <code>uint32 max_participants = 4;</code> @param int $var @return $this
setMaxParticipants
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function getEgress() { return $this->egress; }
egress Generated from protobuf field <code>.livekit.RoomEgress egress = 5;</code> @return \Livekit\RoomEgress|null
getEgress
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function setEgress($var) { GPBUtil::checkMessage($var, \Livekit\RoomEgress::class); $this->egress = $var; return $this; }
egress Generated from protobuf field <code>.livekit.RoomEgress egress = 5;</code> @param \Livekit\RoomEgress $var @return $this
setEgress
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function getMinPlayoutDelay() { return $this->min_playout_delay; }
playout delay of subscriber Generated from protobuf field <code>uint32 min_playout_delay = 7;</code> @return int
getMinPlayoutDelay
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function setMinPlayoutDelay($var) { GPBUtil::checkUint32($var); $this->min_playout_delay = $var; return $this; }
playout delay of subscriber Generated from protobuf field <code>uint32 min_playout_delay = 7;</code> @param int $var @return $this
setMinPlayoutDelay
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function getMaxPlayoutDelay() { return $this->max_playout_delay; }
Generated from protobuf field <code>uint32 max_playout_delay = 8;</code> @return int
getMaxPlayoutDelay
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function setMaxPlayoutDelay($var) { GPBUtil::checkUint32($var); $this->max_playout_delay = $var; return $this; }
Generated from protobuf field <code>uint32 max_playout_delay = 8;</code> @param int $var @return $this
setMaxPlayoutDelay
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function getSyncStreams() { return $this->sync_streams; }
improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use so not recommended for rooms with frequent subscription changes Generated from protobuf field <code>bool sync_streams = 9;</code> @return bool
getSyncStreams
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function setSyncStreams($var) { GPBUtil::checkBool($var); $this->sync_streams = $var; return $this; }
improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use so not recommended for rooms with frequent subscription changes Generated from protobuf field <code>bool sync_streams = 9;</code> @param bool $var @return $this
setSyncStreams
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function getAgents() { return $this->agents; }
Define agents that should be dispatched to this room Generated from protobuf field <code>repeated .livekit.RoomAgentDispatch agents = 10;</code> @return \Google\Protobuf\Internal\RepeatedField
getAgents
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function setAgents($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\RoomAgentDispatch::class); $this->agents = $arr; return $this; }
Define agents that should be dispatched to this room Generated from protobuf field <code>repeated .livekit.RoomAgentDispatch agents = 10;</code> @param \Livekit\RoomAgentDispatch[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setAgents
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomConfiguration.php
Apache-2.0
public function getPreset() { return $this->readOneof(1); }
(default H264_720P_30) Generated from protobuf field <code>.livekit.EncodingOptionsPreset preset = 1;</code> @return int
getPreset
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AutoParticipantEgress.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AutoParticipantEgress.php
Apache-2.0
public function setPreset($var) { GPBUtil::checkEnum($var, \Livekit\EncodingOptionsPreset::class); $this->writeOneof(1, $var); return $this; }
(default H264_720P_30) Generated from protobuf field <code>.livekit.EncodingOptionsPreset preset = 1;</code> @param int $var @return $this
setPreset
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AutoParticipantEgress.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AutoParticipantEgress.php
Apache-2.0
public function getAdvanced() { return $this->readOneof(2); }
(optional) Generated from protobuf field <code>.livekit.EncodingOptions advanced = 2;</code> @return \Livekit\EncodingOptions|null
getAdvanced
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AutoParticipantEgress.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AutoParticipantEgress.php
Apache-2.0
public function setAdvanced($var) { GPBUtil::checkMessage($var, \Livekit\EncodingOptions::class); $this->writeOneof(2, $var); return $this; }
(optional) Generated from protobuf field <code>.livekit.EncodingOptions advanced = 2;</code> @param \Livekit\EncodingOptions $var @return $this
setAdvanced
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AutoParticipantEgress.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AutoParticipantEgress.php
Apache-2.0
public function getFileOutputs() { return $this->file_outputs; }
Generated from protobuf field <code>repeated .livekit.EncodedFileOutput file_outputs = 3;</code> @return \Google\Protobuf\Internal\RepeatedField
getFileOutputs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AutoParticipantEgress.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AutoParticipantEgress.php
Apache-2.0
public function setFileOutputs($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\EncodedFileOutput::class); $this->file_outputs = $arr; return $this; }
Generated from protobuf field <code>repeated .livekit.EncodedFileOutput file_outputs = 3;</code> @param \Livekit\EncodedFileOutput[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setFileOutputs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AutoParticipantEgress.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AutoParticipantEgress.php
Apache-2.0
public function getSegmentOutputs() { return $this->segment_outputs; }
Generated from protobuf field <code>repeated .livekit.SegmentedFileOutput segment_outputs = 4;</code> @return \Google\Protobuf\Internal\RepeatedField
getSegmentOutputs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AutoParticipantEgress.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AutoParticipantEgress.php
Apache-2.0
public function setSegmentOutputs($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\SegmentedFileOutput::class); $this->segment_outputs = $arr; return $this; }
Generated from protobuf field <code>repeated .livekit.SegmentedFileOutput segment_outputs = 4;</code> @param \Livekit\SegmentedFileOutput[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setSegmentOutputs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AutoParticipantEgress.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AutoParticipantEgress.php
Apache-2.0
public function getParticipantSid() { @trigger_error('participant_sid is deprecated.', E_USER_DEPRECATED); return $this->participant_sid; }
participant ID of user that sent the message Generated from protobuf field <code>string participant_sid = 1 [deprecated = true];</code> @return string @deprecated
getParticipantSid
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function setParticipantSid($var) { @trigger_error('participant_sid is deprecated.', E_USER_DEPRECATED); GPBUtil::checkString($var, True); $this->participant_sid = $var; return $this; }
participant ID of user that sent the message Generated from protobuf field <code>string participant_sid = 1 [deprecated = true];</code> @param string $var @return $this @deprecated
setParticipantSid
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function getParticipantIdentity() { @trigger_error('participant_identity is deprecated.', E_USER_DEPRECATED); return $this->participant_identity; }
Generated from protobuf field <code>string participant_identity = 5 [deprecated = true];</code> @return string @deprecated
getParticipantIdentity
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function setParticipantIdentity($var) { @trigger_error('participant_identity is deprecated.', E_USER_DEPRECATED); GPBUtil::checkString($var, True); $this->participant_identity = $var; return $this; }
Generated from protobuf field <code>string participant_identity = 5 [deprecated = true];</code> @param string $var @return $this @deprecated
setParticipantIdentity
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function getPayload() { return $this->payload; }
user defined payload Generated from protobuf field <code>bytes payload = 2;</code> @return string
getPayload
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function setPayload($var) { GPBUtil::checkString($var, False); $this->payload = $var; return $this; }
user defined payload Generated from protobuf field <code>bytes payload = 2;</code> @param string $var @return $this
setPayload
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function getDestinationSids() { @trigger_error('destination_sids is deprecated.', E_USER_DEPRECATED); return $this->destination_sids; }
the ID of the participants who will receive the message (sent to all by default) Generated from protobuf field <code>repeated string destination_sids = 3 [deprecated = true];</code> @return \Google\Protobuf\Internal\RepeatedField @deprecated
getDestinationSids
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function setDestinationSids($var) { @trigger_error('destination_sids is deprecated.', E_USER_DEPRECATED); $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->destination_sids = $arr; return $this; }
the ID of the participants who will receive the message (sent to all by default) Generated from protobuf field <code>repeated string destination_sids = 3 [deprecated = true];</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this @deprecated
setDestinationSids
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function getDestinationIdentities() { @trigger_error('destination_identities is deprecated.', E_USER_DEPRECATED); return $this->destination_identities; }
identities of participants who will receive the message (sent to all by default) Generated from protobuf field <code>repeated string destination_identities = 6 [deprecated = true];</code> @return \Google\Protobuf\Internal\RepeatedField @deprecated
getDestinationIdentities
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function setDestinationIdentities($var) { @trigger_error('destination_identities is deprecated.', E_USER_DEPRECATED); $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->destination_identities = $arr; return $this; }
identities of participants who will receive the message (sent to all by default) Generated from protobuf field <code>repeated string destination_identities = 6 [deprecated = true];</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this @deprecated
setDestinationIdentities
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function getTopic() { return isset($this->topic) ? $this->topic : ''; }
topic under which the message was published Generated from protobuf field <code>optional string topic = 4;</code> @return string
getTopic
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function setTopic($var) { GPBUtil::checkString($var, True); $this->topic = $var; return $this; }
topic under which the message was published Generated from protobuf field <code>optional string topic = 4;</code> @param string $var @return $this
setTopic
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function getId() { return isset($this->id) ? $this->id : ''; }
Unique ID to indentify the message Generated from protobuf field <code>optional string id = 8;</code> @return string
getId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function setId($var) { GPBUtil::checkString($var, True); $this->id = $var; return $this; }
Unique ID to indentify the message Generated from protobuf field <code>optional string id = 8;</code> @param string $var @return $this
setId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function getStartTime() { return isset($this->start_time) ? $this->start_time : 0; }
start and end time allow relating the message to specific media time Generated from protobuf field <code>optional uint64 start_time = 9;</code> @return int|string
getStartTime
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function setStartTime($var) { GPBUtil::checkUint64($var); $this->start_time = $var; return $this; }
start and end time allow relating the message to specific media time Generated from protobuf field <code>optional uint64 start_time = 9;</code> @param int|string $var @return $this
setStartTime
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function getEndTime() { return isset($this->end_time) ? $this->end_time : 0; }
Generated from protobuf field <code>optional uint64 end_time = 10;</code> @return int|string
getEndTime
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function setEndTime($var) { GPBUtil::checkUint64($var); $this->end_time = $var; return $this; }
Generated from protobuf field <code>optional uint64 end_time = 10;</code> @param int|string $var @return $this
setEndTime
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function getNonce() { return $this->nonce; }
added by SDK to enable de-duping of messages, for INTERNAL USE ONLY Generated from protobuf field <code>bytes nonce = 11;</code> @return string
getNonce
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function setNonce($var) { GPBUtil::checkString($var, False); $this->nonce = $var; return $this; }
added by SDK to enable de-duping of messages, for INTERNAL USE ONLY Generated from protobuf field <code>bytes nonce = 11;</code> @param string $var @return $this
setNonce
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UserPacket.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UserPacket.php
Apache-2.0
public function getUnixMicro() { return $this->unix_micro; }
Generated from protobuf field <code>int64 unix_micro = 1;</code> @return int|string
getUnixMicro
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TimedVersion.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TimedVersion.php
Apache-2.0
public function setUnixMicro($var) { GPBUtil::checkInt64($var); $this->unix_micro = $var; return $this; }
Generated from protobuf field <code>int64 unix_micro = 1;</code> @param int|string $var @return $this
setUnixMicro
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TimedVersion.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TimedVersion.php
Apache-2.0
public function getTicks() { return $this->ticks; }
Generated from protobuf field <code>int32 ticks = 2;</code> @return int
getTicks
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TimedVersion.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TimedVersion.php
Apache-2.0
public function setTicks($var) { GPBUtil::checkInt32($var); $this->ticks = $var; return $this; }
Generated from protobuf field <code>int32 ticks = 2;</code> @param int $var @return $this
setTicks
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TimedVersion.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TimedVersion.php
Apache-2.0
public function getPage() { return $this->page; }
Generated from protobuf field <code>.livekit.Pagination page = 3;</code> @return \Livekit\Pagination|null
getPage
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListSIPOutboundTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListSIPOutboundTrunkRequest.php
Apache-2.0
public function setPage($var) { GPBUtil::checkMessage($var, \Livekit\Pagination::class); $this->page = $var; return $this; }
Generated from protobuf field <code>.livekit.Pagination page = 3;</code> @param \Livekit\Pagination $var @return $this
setPage
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListSIPOutboundTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListSIPOutboundTrunkRequest.php
Apache-2.0
public function getTrunkIds() { return $this->trunk_ids; }
Trunk IDs to list. If this option is set, the response will contains trunks in the same order. If any of the trunks is missing, a nil item in that position will be sent in the response. Generated from protobuf field <code>repeated string trunk_ids = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getTrunkIds
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListSIPOutboundTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListSIPOutboundTrunkRequest.php
Apache-2.0
public function setTrunkIds($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->trunk_ids = $arr; return $this; }
Trunk IDs to list. If this option is set, the response will contains trunks in the same order. If any of the trunks is missing, a nil item in that position will be sent in the response. Generated from protobuf field <code>repeated string trunk_ids = 1;</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setTrunkIds
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListSIPOutboundTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListSIPOutboundTrunkRequest.php
Apache-2.0
public function getNumbers() { return $this->numbers; }
Only list trunks that contain one of the numbers, including wildcard trunks. Generated from protobuf field <code>repeated string numbers = 2;</code> @return \Google\Protobuf\Internal\RepeatedField
getNumbers
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListSIPOutboundTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListSIPOutboundTrunkRequest.php
Apache-2.0
public function setNumbers($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->numbers = $arr; return $this; }
Only list trunks that contain one of the numbers, including wildcard trunks. Generated from protobuf field <code>repeated string numbers = 2;</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setNumbers
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListSIPOutboundTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListSIPOutboundTrunkRequest.php
Apache-2.0
public function getLabel() { return $this->label; }
Generated from protobuf field <code>uint32 label = 1;</code> @return int
getLabel
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 setLabel($var) { GPBUtil::checkUint32($var); $this->label = $var; return $this; }
Generated from protobuf field <code>uint32 label = 1;</code> @param int $var @return $this
setLabel
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 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/EventMetric.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EventMetric.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/EventMetric.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EventMetric.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/EventMetric.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EventMetric.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/EventMetric.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EventMetric.php
Apache-2.0
public function getStartTimestampMs() { return $this->start_timestamp_ms; }
start time of event based on a monotonic clock (in milliseconds) Generated from protobuf field <code>int64 start_timestamp_ms = 4;</code> @return int|string
getStartTimestampMs
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 setStartTimestampMs($var) { GPBUtil::checkInt64($var); $this->start_timestamp_ms = $var; return $this; }
start time of event based on a monotonic clock (in milliseconds) Generated from protobuf field <code>int64 start_timestamp_ms = 4;</code> @param int|string $var @return $this
setStartTimestampMs
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 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 getMetadata() { return $this->metadata; }
Generated from protobuf field <code>string metadata = 8;</code> @return string
getMetadata
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 setMetadata($var) { GPBUtil::checkString($var, True); $this->metadata = $var; return $this; }
Generated from protobuf field <code>string metadata = 8;</code> @param string $var @return $this
setMetadata
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 getParticipantName() { return $this->participant_name; }
Generated from protobuf field <code>string participant_name = 4;</code> @return string
getParticipantName
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 setParticipantName($var) { GPBUtil::checkString($var, True); $this->participant_name = $var; return $this; }
Generated from protobuf field <code>string participant_name = 4;</code> @param string $var @return $this
setParticipantName
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 getParticipantIdentity() { return $this->participant_identity; }
Generated from protobuf field <code>string participant_identity = 5;</code> @return string
getParticipantIdentity
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 setParticipantIdentity($var) { GPBUtil::checkString($var, True); $this->participant_identity = $var; return $this; }
Generated from protobuf field <code>string participant_identity = 5;</code> @param string $var @return $this
setParticipantIdentity
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 getParticipantMetadata() { return $this->participant_metadata; }
Generated from protobuf field <code>string participant_metadata = 6;</code> @return string
getParticipantMetadata
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 setParticipantMetadata($var) { GPBUtil::checkString($var, True); $this->participant_metadata = $var; return $this; }
Generated from protobuf field <code>string participant_metadata = 6;</code> @param string $var @return $this
setParticipantMetadata
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 getParticipantAttributes() { return $this->participant_attributes; }
Generated from protobuf field <code>map<string, string> participant_attributes = 7;</code> @return \Google\Protobuf\Internal\MapField
getParticipantAttributes
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 setParticipantAttributes($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); $this->participant_attributes = $arr; return $this; }
Generated from protobuf field <code>map<string, string> participant_attributes = 7;</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setParticipantAttributes
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