code
stringlengths
17
247k
docstring
stringlengths
30
30.3k
func_name
stringlengths
1
89
language
stringclasses
1 value
repo
stringlengths
7
63
path
stringlengths
7
153
url
stringlengths
51
209
license
stringclasses
4 values
public function 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 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 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
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 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 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 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 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 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