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 getTrunkIds() { return $this->trunk_ids; }
What trunks are accepted for this dispatch rule If empty all trunks will match this dispatch rule Generated from protobuf field <code>repeated string trunk_ids = 2;</code> @return \Google\Protobuf\Internal\RepeatedField
getTrunkIds
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPDispatchRuleRequest.php
Apache-2.0
public function setTrunkIds($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->trunk_ids = $arr; return $this; }
What trunks are accepted for this dispatch rule If empty all trunks will match this dispatch rule Generated from protobuf field <code>repeated string trunk_ids = 2;</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setTrunkIds
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPDispatchRuleRequest.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 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 = 3;</code> @return bool
getHidePhoneNumber
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPDispatchRuleRequest.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 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 = 3;</code> @param bool $var @return $this
setHidePhoneNumber
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPDispatchRuleRequest.php
Apache-2.0
public function getInboundNumbers() { return $this->inbound_numbers; }
Dispatch Rule will only accept a call made to these numbers (if set). Generated from protobuf field <code>repeated string inbound_numbers = 6;</code> @return \Google\Protobuf\Internal\RepeatedField
getInboundNumbers
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPDispatchRuleRequest.php
Apache-2.0
public function setInboundNumbers($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->inbound_numbers = $arr; return $this; }
Dispatch Rule will only accept a call made to these numbers (if set). Generated from protobuf field <code>repeated string inbound_numbers = 6;</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setInboundNumbers
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPDispatchRuleRequest.php
Apache-2.0
public function getName() { return $this->name; }
Optional human-readable name for the Dispatch Rule. Generated from protobuf field <code>string name = 4;</code> @return string
getName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPDispatchRuleRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Optional human-readable name for the Dispatch Rule. Generated from protobuf field <code>string name = 4;</code> @param string $var @return $this
setName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPDispatchRuleRequest.php
Apache-2.0
public function getMetadata() { return $this->metadata; }
User-defined metadata for the Dispatch Rule. Participants created by this rule will inherit this metadata. Generated from protobuf field <code>string metadata = 5;</code> @return string
getMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPDispatchRuleRequest.php
Apache-2.0
public function setMetadata($var) { GPBUtil::checkString($var, True); $this->metadata = $var; return $this; }
User-defined metadata for the Dispatch Rule. Participants created by this rule will inherit this metadata. Generated from protobuf field <code>string metadata = 5;</code> @param string $var @return $this
setMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPDispatchRuleRequest.php
Apache-2.0
public function getAttributes() { return $this->attributes; }
User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes. Generated from protobuf field <code>map<string, string> attributes = 7;</code> @return \Google\Protobuf\Internal\MapField
getAttributes
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPDispatchRuleRequest.php
Apache-2.0
public function setAttributes($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); $this->attributes = $arr; return $this; }
User-defined attributes for the Dispatch Rule. Participants created by this rule will inherit these attributes. Generated from protobuf field <code>map<string, string> attributes = 7;</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setAttributes
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPDispatchRuleRequest.php
Apache-2.0
public function getRoomPreset() { return $this->room_preset; }
Cloud-only, config preset to use Generated from protobuf field <code>string room_preset = 8;</code> @return string
getRoomPreset
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPDispatchRuleRequest.php
Apache-2.0
public function setRoomPreset($var) { GPBUtil::checkString($var, True); $this->room_preset = $var; return $this; }
Cloud-only, config preset to use Generated from protobuf field <code>string room_preset = 8;</code> @param string $var @return $this
setRoomPreset
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPDispatchRuleRequest.php
Apache-2.0
public function getRoomConfig() { return $this->room_config; }
RoomConfiguration to use if the participant initiates the room Generated from protobuf field <code>.livekit.RoomConfiguration room_config = 9;</code> @return \Livekit\RoomConfiguration|null
getRoomConfig
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPDispatchRuleRequest.php
Apache-2.0
public function setRoomConfig($var) { GPBUtil::checkMessage($var, \Livekit\RoomConfiguration::class); $this->room_config = $var; return $this; }
RoomConfiguration to use if the participant initiates the room Generated from protobuf field <code>.livekit.RoomConfiguration room_config = 9;</code> @param \Livekit\RoomConfiguration $var @return $this
setRoomConfig
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPDispatchRuleRequest.php
Apache-2.0
public function getAgentName() { return $this->agent_name; }
Generated from protobuf field <code>string agent_name = 1;</code> @return string
getAgentName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateAgentDispatchRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateAgentDispatchRequest.php
Apache-2.0
public function setAgentName($var) { GPBUtil::checkString($var, True); $this->agent_name = $var; return $this; }
Generated from protobuf field <code>string agent_name = 1;</code> @param string $var @return $this
setAgentName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateAgentDispatchRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateAgentDispatchRequest.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/CreateAgentDispatchRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateAgentDispatchRequest.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/CreateAgentDispatchRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateAgentDispatchRequest.php
Apache-2.0
public function getMetadata() { return $this->metadata; }
Generated from protobuf field <code>string metadata = 3;</code> @return string
getMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateAgentDispatchRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateAgentDispatchRequest.php
Apache-2.0
public function setMetadata($var) { GPBUtil::checkString($var, True); $this->metadata = $var; return $this; }
Generated from protobuf field <code>string metadata = 3;</code> @param string $var @return $this
setMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateAgentDispatchRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateAgentDispatchRequest.php
Apache-2.0
public function getId() { return $this->id; }
uuid Generated from protobuf field <code>string id = 1;</code> @return string
getId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ChatMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ChatMessage.php
Apache-2.0
public function setId($var) { GPBUtil::checkString($var, True); $this->id = $var; return $this; }
uuid Generated from protobuf field <code>string id = 1;</code> @param string $var @return $this
setId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ChatMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ChatMessage.php
Apache-2.0
public function getTimestamp() { return $this->timestamp; }
Generated from protobuf field <code>int64 timestamp = 2;</code> @return int|string
getTimestamp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ChatMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ChatMessage.php
Apache-2.0
public function setTimestamp($var) { GPBUtil::checkInt64($var); $this->timestamp = $var; return $this; }
Generated from protobuf field <code>int64 timestamp = 2;</code> @param int|string $var @return $this
setTimestamp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ChatMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ChatMessage.php
Apache-2.0
public function getEditTimestamp() { return isset($this->edit_timestamp) ? $this->edit_timestamp : 0; }
populated only if the intent is to edit/update an existing message Generated from protobuf field <code>optional int64 edit_timestamp = 3;</code> @return int|string
getEditTimestamp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ChatMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ChatMessage.php
Apache-2.0
public function setEditTimestamp($var) { GPBUtil::checkInt64($var); $this->edit_timestamp = $var; return $this; }
populated only if the intent is to edit/update an existing message Generated from protobuf field <code>optional int64 edit_timestamp = 3;</code> @param int|string $var @return $this
setEditTimestamp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ChatMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ChatMessage.php
Apache-2.0
public function getMessage() { return $this->message; }
Generated from protobuf field <code>string message = 4;</code> @return string
getMessage
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ChatMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ChatMessage.php
Apache-2.0
public function setMessage($var) { GPBUtil::checkString($var, True); $this->message = $var; return $this; }
Generated from protobuf field <code>string message = 4;</code> @param string $var @return $this
setMessage
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ChatMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ChatMessage.php
Apache-2.0
public function getDeleted() { return $this->deleted; }
true to remove message Generated from protobuf field <code>bool deleted = 5;</code> @return bool
getDeleted
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ChatMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ChatMessage.php
Apache-2.0
public function setDeleted($var) { GPBUtil::checkBool($var); $this->deleted = $var; return $this; }
true to remove message Generated from protobuf field <code>bool deleted = 5;</code> @param bool $var @return $this
setDeleted
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ChatMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ChatMessage.php
Apache-2.0
public function getGenerated() { return $this->generated; }
true if the chat message has been generated by an agent from a participant's audio transcription Generated from protobuf field <code>bool generated = 6;</code> @return bool
getGenerated
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ChatMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ChatMessage.php
Apache-2.0
public function setGenerated($var) { GPBUtil::checkBool($var); $this->generated = $var; return $this; }
true if the chat message has been generated by an agent from a participant's audio transcription Generated from protobuf field <code>bool generated = 6;</code> @param bool $var @return $this
setGenerated
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ChatMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ChatMessage.php
Apache-2.0
public function getAfterId() { return $this->after_id; }
list entities which IDs are greater Generated from protobuf field <code>string after_id = 1;</code> @return string
getAfterId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Pagination.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Pagination.php
Apache-2.0
public function setAfterId($var) { GPBUtil::checkString($var, True); $this->after_id = $var; return $this; }
list entities which IDs are greater Generated from protobuf field <code>string after_id = 1;</code> @param string $var @return $this
setAfterId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Pagination.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Pagination.php
Apache-2.0
public function getLimit() { return $this->limit; }
Generated from protobuf field <code>int32 limit = 2;</code> @return int
getLimit
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Pagination.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Pagination.php
Apache-2.0
public function setLimit($var) { GPBUtil::checkInt32($var); $this->limit = $var; return $this; }
Generated from protobuf field <code>int32 limit = 2;</code> @param int $var @return $this
setLimit
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Pagination.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Pagination.php
Apache-2.0
public function getFilenamePrefix() { return $this->filename_prefix; }
Generated from protobuf field <code>string filename_prefix = 4;</code> @return string
getFilenamePrefix
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ImagesInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImagesInfo.php
Apache-2.0
public function setFilenamePrefix($var) { GPBUtil::checkString($var, True); $this->filename_prefix = $var; return $this; }
Generated from protobuf field <code>string filename_prefix = 4;</code> @param string $var @return $this
setFilenamePrefix
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ImagesInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImagesInfo.php
Apache-2.0
public function getImageCount() { return $this->image_count; }
Generated from protobuf field <code>int64 image_count = 1;</code> @return int|string
getImageCount
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ImagesInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImagesInfo.php
Apache-2.0
public function setImageCount($var) { GPBUtil::checkInt64($var); $this->image_count = $var; return $this; }
Generated from protobuf field <code>int64 image_count = 1;</code> @param int|string $var @return $this
setImageCount
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ImagesInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImagesInfo.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/ImagesInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImagesInfo.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/ImagesInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImagesInfo.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/ImagesInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImagesInfo.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/ImagesInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImagesInfo.php
Apache-2.0
public function getEdition() { return $this->edition; }
Generated from protobuf field <code>.livekit.ServerInfo.Edition edition = 1;</code> @return int
getEdition
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerInfo.php
Apache-2.0
public function setEdition($var) { GPBUtil::checkEnum($var, \Livekit\ServerInfo\Edition::class); $this->edition = $var; return $this; }
Generated from protobuf field <code>.livekit.ServerInfo.Edition edition = 1;</code> @param int $var @return $this
setEdition
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerInfo.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/ServerInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerInfo.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/ServerInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerInfo.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/ServerInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerInfo.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/ServerInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerInfo.php
Apache-2.0
public function getRegion() { return $this->region; }
Generated from protobuf field <code>string region = 4;</code> @return string
getRegion
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerInfo.php
Apache-2.0
public function setRegion($var) { GPBUtil::checkString($var, True); $this->region = $var; return $this; }
Generated from protobuf field <code>string region = 4;</code> @param string $var @return $this
setRegion
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerInfo.php
Apache-2.0
public function getNodeId() { return $this->node_id; }
Generated from protobuf field <code>string node_id = 5;</code> @return string
getNodeId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerInfo.php
Apache-2.0
public function setNodeId($var) { GPBUtil::checkString($var, True); $this->node_id = $var; return $this; }
Generated from protobuf field <code>string node_id = 5;</code> @param string $var @return $this
setNodeId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerInfo.php
Apache-2.0
public function getDebugInfo() { return $this->debug_info; }
additional debugging information. sent only if server is in development mode Generated from protobuf field <code>string debug_info = 6;</code> @return string
getDebugInfo
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerInfo.php
Apache-2.0
public function setDebugInfo($var) { GPBUtil::checkString($var, True); $this->debug_info = $var; return $this; }
additional debugging information. sent only if server is in development mode Generated from protobuf field <code>string debug_info = 6;</code> @param string $var @return $this
setDebugInfo
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerInfo.php
Apache-2.0
public function getAgentProtocol() { return $this->agent_protocol; }
Generated from protobuf field <code>int32 agent_protocol = 7;</code> @return int
getAgentProtocol
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerInfo.php
Apache-2.0
public function setAgentProtocol($var) { GPBUtil::checkInt32($var); $this->agent_protocol = $var; return $this; }
Generated from protobuf field <code>int32 agent_protocol = 7;</code> @param int $var @return $this
setAgentProtocol
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerInfo.php
Apache-2.0
public function getItems() { return $this->items; }
Generated from protobuf field <code>repeated .livekit.SIPDispatchRuleInfo items = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getItems
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListSIPDispatchRuleResponse.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListSIPDispatchRuleResponse.php
Apache-2.0
public function setItems($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\SIPDispatchRuleInfo::class); $this->items = $arr; return $this; }
Generated from protobuf field <code>repeated .livekit.SIPDispatchRuleInfo items = 1;</code> @param \Livekit\SIPDispatchRuleInfo[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setItems
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListSIPDispatchRuleResponse.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListSIPDispatchRuleResponse.php
Apache-2.0
public function getJobs() { return $this->jobs; }
For dispatches of tyoe JT_ROOM, there will be at most 1 job. For dispatches of type JT_PUBLISHER, there will be 1 per publisher. Generated from protobuf field <code>repeated .livekit.Job jobs = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getJobs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AgentDispatchState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AgentDispatchState.php
Apache-2.0
public function setJobs($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\Job::class); $this->jobs = $arr; return $this; }
For dispatches of tyoe JT_ROOM, there will be at most 1 job. For dispatches of type JT_PUBLISHER, there will be 1 per publisher. Generated from protobuf field <code>repeated .livekit.Job jobs = 1;</code> @param \Livekit\Job[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setJobs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AgentDispatchState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AgentDispatchState.php
Apache-2.0
public function getCreatedAt() { return $this->created_at; }
Generated from protobuf field <code>int64 created_at = 2;</code> @return int|string
getCreatedAt
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AgentDispatchState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AgentDispatchState.php
Apache-2.0
public function setCreatedAt($var) { GPBUtil::checkInt64($var); $this->created_at = $var; return $this; }
Generated from protobuf field <code>int64 created_at = 2;</code> @param int|string $var @return $this
setCreatedAt
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AgentDispatchState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AgentDispatchState.php
Apache-2.0
public function getDeletedAt() { return $this->deleted_at; }
Generated from protobuf field <code>int64 deleted_at = 3;</code> @return int|string
getDeletedAt
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AgentDispatchState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AgentDispatchState.php
Apache-2.0
public function setDeletedAt($var) { GPBUtil::checkInt64($var); $this->deleted_at = $var; return $this; }
Generated from protobuf field <code>int64 deleted_at = 3;</code> @param int|string $var @return $this
setDeletedAt
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AgentDispatchState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AgentDispatchState.php
Apache-2.0
public function getInputType() { return $this->input_type; }
Generated from protobuf field <code>.livekit.IngressInput input_type = 1;</code> @return int
getInputType
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function setInputType($var) { GPBUtil::checkEnum($var, \Livekit\IngressInput::class); $this->input_type = $var; return $this; }
Generated from protobuf field <code>.livekit.IngressInput input_type = 1;</code> @param int $var @return $this
setInputType
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function getUrl() { return $this->url; }
Where to pull media from, only for URL input type Generated from protobuf field <code>string url = 9;</code> @return string
getUrl
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function setUrl($var) { GPBUtil::checkString($var, True); $this->url = $var; return $this; }
Where to pull media from, only for URL input type Generated from protobuf field <code>string url = 9;</code> @param string $var @return $this
setUrl
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function getName() { return $this->name; }
User provided identifier for the ingress Generated from protobuf field <code>string name = 2;</code> @return string
getName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
User provided identifier for the ingress Generated from protobuf field <code>string name = 2;</code> @param string $var @return $this
setName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function getRoomName() { return $this->room_name; }
room to publish to Generated from protobuf field <code>string room_name = 3;</code> @return string
getRoomName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function setRoomName($var) { GPBUtil::checkString($var, True); $this->room_name = $var; return $this; }
room to publish to 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/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function getParticipantIdentity() { return $this->participant_identity; }
publish as participant Generated from protobuf field <code>string participant_identity = 4;</code> @return string
getParticipantIdentity
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function setParticipantIdentity($var) { GPBUtil::checkString($var, True); $this->participant_identity = $var; return $this; }
publish as participant 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/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function getParticipantName() { return $this->participant_name; }
name of publishing participant (used for display only) Generated from protobuf field <code>string participant_name = 5;</code> @return string
getParticipantName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function setParticipantName($var) { GPBUtil::checkString($var, True); $this->participant_name = $var; return $this; }
name of publishing participant (used for display only) Generated from protobuf field <code>string participant_name = 5;</code> @param string $var @return $this
setParticipantName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function getParticipantMetadata() { return $this->participant_metadata; }
metadata associated with the publishing participant Generated from protobuf field <code>string participant_metadata = 10;</code> @return string
getParticipantMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function setParticipantMetadata($var) { GPBUtil::checkString($var, True); $this->participant_metadata = $var; return $this; }
metadata associated with the publishing participant Generated from protobuf field <code>string participant_metadata = 10;</code> @param string $var @return $this
setParticipantMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function getBypassTranscoding() { @trigger_error('bypass_transcoding is deprecated.', E_USER_DEPRECATED); return $this->bypass_transcoding; }
[depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead. Generated from protobuf field <code>bool bypass_transcoding = 8 [deprecated = true];</code> @return bool @deprecated
getBypassTranscoding
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function setBypassTranscoding($var) { @trigger_error('bypass_transcoding is deprecated.', E_USER_DEPRECATED); GPBUtil::checkBool($var); $this->bypass_transcoding = $var; return $this; }
[depreacted ] whether to pass through the incoming media without transcoding, only compatible with some input types. Use `enable_transcoding` instead. Generated from protobuf field <code>bool bypass_transcoding = 8 [deprecated = true];</code> @param bool $var @return $this @deprecated
setBypassTranscoding
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function getEnableTranscoding() { return isset($this->enable_transcoding) ? $this->enable_transcoding : false; }
Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding. Generated from protobuf field <code>optional bool enable_transcoding = 11;</code> @return bool
getEnableTranscoding
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function setEnableTranscoding($var) { GPBUtil::checkBool($var); $this->enable_transcoding = $var; return $this; }
Whether to transcode the ingested media. Only WHIP supports disabling transcoding currently. WHIP will default to transcoding disabled. Replaces `bypass_transcoding. Generated from protobuf field <code>optional bool enable_transcoding = 11;</code> @param bool $var @return $this
setEnableTranscoding
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function getAudio() { return $this->audio; }
Generated from protobuf field <code>.livekit.IngressAudioOptions audio = 6;</code> @return \Livekit\IngressAudioOptions|null
getAudio
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function setAudio($var) { GPBUtil::checkMessage($var, \Livekit\IngressAudioOptions::class); $this->audio = $var; return $this; }
Generated from protobuf field <code>.livekit.IngressAudioOptions audio = 6;</code> @param \Livekit\IngressAudioOptions $var @return $this
setAudio
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function getVideo() { return $this->video; }
Generated from protobuf field <code>.livekit.IngressVideoOptions video = 7;</code> @return \Livekit\IngressVideoOptions|null
getVideo
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function setVideo($var) { GPBUtil::checkMessage($var, \Livekit\IngressVideoOptions::class); $this->video = $var; return $this; }
Generated from protobuf field <code>.livekit.IngressVideoOptions video = 7;</code> @param \Livekit\IngressVideoOptions $var @return $this
setVideo
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function getEnabled() { return isset($this->enabled) ? $this->enabled : false; }
The default value is true and when set to false, the new connection attempts will be rejected Generated from protobuf field <code>optional bool enabled = 12;</code> @return bool
getEnabled
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function setEnabled($var) { GPBUtil::checkBool($var); $this->enabled = $var; return $this; }
The default value is true and when set to false, the new connection attempts will be rejected Generated from protobuf field <code>optional bool enabled = 12;</code> @param bool $var @return $this
setEnabled
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateIngressRequest.php
Apache-2.0
public function getInboundAddresses() { return $this->inbound_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 inbound_addresses = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getInboundAddresses
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 setInboundAddresses($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->inbound_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 inbound_addresses = 1;</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setInboundAddresses
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 getOutboundAddress() { return $this->outbound_address; }
IP that SIP INVITE is sent too Generated from protobuf field <code>string outbound_address = 2;</code> @return string
getOutboundAddress
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 setOutboundAddress($var) { GPBUtil::checkString($var, True); $this->outbound_address = $var; return $this; }
IP that SIP INVITE is sent too Generated from protobuf field <code>string outbound_address = 2;</code> @param string $var @return $this
setOutboundAddress
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 getOutboundNumber() { return $this->outbound_number; }
Number used to make outbound calls Generated from protobuf field <code>string outbound_number = 3;</code> @return string
getOutboundNumber
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 setOutboundNumber($var) { GPBUtil::checkString($var, True); $this->outbound_number = $var; return $this; }
Number used to make outbound calls Generated from protobuf field <code>string outbound_number = 3;</code> @param string $var @return $this
setOutboundNumber
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 getInboundNumbersRegex() { @trigger_error('inbound_numbers_regex is deprecated.', E_USER_DEPRECATED); return $this->inbound_numbers_regex; }
Generated from protobuf field <code>repeated string inbound_numbers_regex = 4 [deprecated = true];</code> @return \Google\Protobuf\Internal\RepeatedField @deprecated
getInboundNumbersRegex
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 setInboundNumbersRegex($var) { @trigger_error('inbound_numbers_regex is deprecated.', E_USER_DEPRECATED); $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->inbound_numbers_regex = $arr; return $this; }
Generated from protobuf field <code>repeated string inbound_numbers_regex = 4 [deprecated = true];</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this @deprecated
setInboundNumbersRegex
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