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 getEncryption() { return $this->encryption; }
Generated from protobuf field <code>.livekit.Encryption.Type encryption = 16;</code> @return int
getEncryption
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackInfo.php
Apache-2.0
public function setEncryption($var) { GPBUtil::checkEnum($var, \Livekit\Encryption\Type::class); $this->encryption = $var; return $this; }
Generated from protobuf field <code>.livekit.Encryption.Type encryption = 16;</code> @param int $var @return $this
setEncryption
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackInfo.php
Apache-2.0
public function getStream() { return $this->stream; }
Generated from protobuf field <code>string stream = 17;</code> @return string
getStream
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackInfo.php
Apache-2.0
public function setStream($var) { GPBUtil::checkString($var, True); $this->stream = $var; return $this; }
Generated from protobuf field <code>string stream = 17;</code> @param string $var @return $this
setStream
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackInfo.php
Apache-2.0
public function getVersion() { return $this->version; }
Generated from protobuf field <code>.livekit.TimedVersion version = 18;</code> @return \Livekit\TimedVersion|null
getVersion
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackInfo.php
Apache-2.0
public function setVersion($var) { GPBUtil::checkMessage($var, \Livekit\TimedVersion::class); $this->version = $var; return $this; }
Generated from protobuf field <code>.livekit.TimedVersion version = 18;</code> @param \Livekit\TimedVersion $var @return $this
setVersion
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackInfo.php
Apache-2.0
public function getAudioFeatures() { return $this->audio_features; }
Generated from protobuf field <code>repeated .livekit.AudioTrackFeature audio_features = 19;</code> @return \Google\Protobuf\Internal\RepeatedField
getAudioFeatures
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackInfo.php
Apache-2.0
public function setAudioFeatures($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Livekit\AudioTrackFeature::class); $this->audio_features = $arr; return $this; }
Generated from protobuf field <code>repeated .livekit.AudioTrackFeature audio_features = 19;</code> @param int[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setAudioFeatures
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackInfo.php
Apache-2.0
public function getBackupCodecPolicy() { return $this->backup_codec_policy; }
Generated from protobuf field <code>.livekit.BackupCodecPolicy backup_codec_policy = 20;</code> @return int
getBackupCodecPolicy
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackInfo.php
Apache-2.0
public function setBackupCodecPolicy($var) { GPBUtil::checkEnum($var, \Livekit\BackupCodecPolicy::class); $this->backup_codec_policy = $var; return $this; }
Generated from protobuf field <code>.livekit.BackupCodecPolicy backup_codec_policy = 20;</code> @param int $var @return $this
setBackupCodecPolicy
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackInfo.php
Apache-2.0
public function getParticipants() { return $this->participants; }
Generated from protobuf field <code>repeated .livekit.ParticipantInfo participants = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getParticipants
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListParticipantsResponse.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListParticipantsResponse.php
Apache-2.0
public function setParticipants($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\ParticipantInfo::class); $this->participants = $arr; return $this; }
Generated from protobuf field <code>repeated .livekit.ParticipantInfo participants = 1;</code> @param \Livekit\ParticipantInfo[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setParticipants
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListParticipantsResponse.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListParticipantsResponse.php
Apache-2.0
public function getSipTrunkId() { return $this->sip_trunk_id; }
Generated from protobuf field <code>string sip_trunk_id = 1;</code> @return string
getSipTrunkId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function setSipTrunkId($var) { GPBUtil::checkString($var, True); $this->sip_trunk_id = $var; return $this; }
Generated from protobuf field <code>string sip_trunk_id = 1;</code> @param string $var @return $this
setSipTrunkId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function getName() { return $this->name; }
Human-readable name for the Trunk. Generated from protobuf field <code>string name = 2;</code> @return string
getName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
Human-readable name for the Trunk. Generated from protobuf field <code>string name = 2;</code> @param string $var @return $this
setName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function getMetadata() { return $this->metadata; }
User-defined metadata for the Trunk. Generated from protobuf field <code>string metadata = 3;</code> @return string
getMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function setMetadata($var) { GPBUtil::checkString($var, True); $this->metadata = $var; return $this; }
User-defined metadata for the Trunk. Generated from protobuf field <code>string metadata = 3;</code> @param string $var @return $this
setMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function getAddress() { return $this->address; }
Hostname or IP that SIP INVITE is sent too. Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix. Generated from protobuf field <code>string address = 4;</code> @return string
getAddress
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function setAddress($var) { GPBUtil::checkString($var, True); $this->address = $var; return $this; }
Hostname or IP that SIP INVITE is sent too. Note that this is not a SIP URI and should not contain the 'sip:' protocol prefix. Generated from protobuf field <code>string address = 4;</code> @param string $var @return $this
setAddress
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function getTransport() { return $this->transport; }
SIP Transport used for outbound call. Generated from protobuf field <code>.livekit.SIPTransport transport = 5;</code> @return int
getTransport
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function setTransport($var) { GPBUtil::checkEnum($var, \Livekit\SIPTransport::class); $this->transport = $var; return $this; }
SIP Transport used for outbound call. Generated from protobuf field <code>.livekit.SIPTransport transport = 5;</code> @param int $var @return $this
setTransport
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function getNumbers() { return $this->numbers; }
Numbers used to make the calls. Random one from this list will be selected. Generated from protobuf field <code>repeated string numbers = 6;</code> @return \Google\Protobuf\Internal\RepeatedField
getNumbers
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function setNumbers($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->numbers = $arr; return $this; }
Numbers used to make the calls. Random one from this list will be selected. Generated from protobuf field <code>repeated string numbers = 6;</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setNumbers
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function getAuthUsername() { return $this->auth_username; }
Username and password used to authenticate with SIP server. May be empty to have no authentication. Generated from protobuf field <code>string auth_username = 7;</code> @return string
getAuthUsername
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function setAuthUsername($var) { GPBUtil::checkString($var, True); $this->auth_username = $var; return $this; }
Username and password used to authenticate with SIP server. May be empty to have no authentication. Generated from protobuf field <code>string auth_username = 7;</code> @param string $var @return $this
setAuthUsername
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function getAuthPassword() { return $this->auth_password; }
Generated from protobuf field <code>string auth_password = 8;</code> @return string
getAuthPassword
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function setAuthPassword($var) { GPBUtil::checkString($var, True); $this->auth_password = $var; return $this; }
Generated from protobuf field <code>string auth_password = 8;</code> @param string $var @return $this
setAuthPassword
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function getHeaders() { return $this->headers; }
Include these SIP X-* headers in INVITE request. 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 = 9;</code> @return \Google\Protobuf\Internal\MapField
getHeaders
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function setHeaders($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); $this->headers = $arr; return $this; }
Include these SIP X-* headers in INVITE request. 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 = 9;</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setHeaders
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function getHeadersToAttributes() { return $this->headers_to_attributes; }
Map SIP X-* headers from 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to. Generated from protobuf field <code>map<string, string> headers_to_attributes = 10;</code> @return \Google\Protobuf\Internal\MapField
getHeadersToAttributes
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function setHeadersToAttributes($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); $this->headers_to_attributes = $arr; return $this; }
Map SIP X-* headers from 200 OK to SIP participant attributes. Keys are the names of X-* headers and values are the names of attributes they will be mapped to. Generated from protobuf field <code>map<string, string> headers_to_attributes = 10;</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setHeadersToAttributes
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function getAttributesToHeaders() { return $this->attributes_to_headers; }
Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to. Generated from protobuf field <code>map<string, string> attributes_to_headers = 11;</code> @return \Google\Protobuf\Internal\MapField
getAttributesToHeaders
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function setAttributesToHeaders($var) { $arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING); $this->attributes_to_headers = $arr; return $this; }
Map LiveKit attributes to SIP X-* headers when sending BYE or REFER requests. Keys are the names of attributes and values are the names of X-* headers they will be mapped to. Generated from protobuf field <code>map<string, string> attributes_to_headers = 11;</code> @param array|\Google\Protobuf\Internal\MapField $var @return $this
setAttributesToHeaders
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.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 = 12;</code> @return int
getIncludeHeaders
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.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 = 12;</code> @param int $var @return $this
setIncludeHeaders
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function getMediaEncryption() { return $this->media_encryption; }
Generated from protobuf field <code>.livekit.SIPMediaEncryption media_encryption = 13;</code> @return int
getMediaEncryption
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function setMediaEncryption($var) { GPBUtil::checkEnum($var, \Livekit\SIPMediaEncryption::class); $this->media_encryption = $var; return $this; }
Generated from protobuf field <code>.livekit.SIPMediaEncryption media_encryption = 13;</code> @param int $var @return $this
setMediaEncryption
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundTrunkInfo.php
Apache-2.0
public function getIngressId() { return $this->ingress_id; }
Generated from protobuf field <code>string ingress_id = 1;</code> @return string
getIngressId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/DeleteIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/DeleteIngressRequest.php
Apache-2.0
public function setIngressId($var) { GPBUtil::checkString($var, True); $this->ingress_id = $var; return $this; }
Generated from protobuf field <code>string ingress_id = 1;</code> @param string $var @return $this
setIngressId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/DeleteIngressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/DeleteIngressRequest.php
Apache-2.0
public function getLastTimestamp() { return $this->last_timestamp; }
Generated from protobuf field <code>int64 last_timestamp = 1;</code> @return int|string
getLastTimestamp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WorkerPong.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WorkerPong.php
Apache-2.0
public function setLastTimestamp($var) { GPBUtil::checkInt64($var); $this->last_timestamp = $var; return $this; }
Generated from protobuf field <code>int64 last_timestamp = 1;</code> @param int|string $var @return $this
setLastTimestamp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WorkerPong.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WorkerPong.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/WorkerPong.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WorkerPong.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/WorkerPong.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WorkerPong.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/UpdateJobStatus.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateJobStatus.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/UpdateJobStatus.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateJobStatus.php
Apache-2.0
public function getStatus() { return $this->status; }
The worker can indicate the job end by either specifying SUCCESS or FAILED Generated from protobuf field <code>.livekit.JobStatus status = 2;</code> @return int
getStatus
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateJobStatus.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateJobStatus.php
Apache-2.0
public function setStatus($var) { GPBUtil::checkEnum($var, \Livekit\JobStatus::class); $this->status = $var; return $this; }
The worker can indicate the job end by either specifying SUCCESS or FAILED Generated from protobuf field <code>.livekit.JobStatus status = 2;</code> @param int $var @return $this
setStatus
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateJobStatus.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateJobStatus.php
Apache-2.0
public function getError() { return $this->error; }
metadata shown on the dashboard, useful for debugging Generated from protobuf field <code>string error = 3;</code> @return string
getError
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateJobStatus.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateJobStatus.php
Apache-2.0
public function setError($var) { GPBUtil::checkString($var, True); $this->error = $var; return $this; }
metadata shown on the dashboard, useful for debugging Generated from protobuf field <code>string error = 3;</code> @param string $var @return $this
setError
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateJobStatus.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateJobStatus.php
Apache-2.0
public function getRooms() { return $this->rooms; }
Generated from protobuf field <code>repeated .livekit.Room rooms = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getRooms
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListRoomsResponse.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListRoomsResponse.php
Apache-2.0
public function setRooms($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\Room::class); $this->rooms = $arr; return $this; }
Generated from protobuf field <code>repeated .livekit.Room rooms = 1;</code> @param \Livekit\Room[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setRooms
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListRoomsResponse.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListRoomsResponse.php
Apache-2.0
public function getRoomName() { return $this->room_name; }
required Generated from protobuf field <code>string room_name = 1;</code> @return string
getRoomName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function setRoomName($var) { GPBUtil::checkString($var, True); $this->room_name = $var; return $this; }
required Generated from protobuf field <code>string room_name = 1;</code> @param string $var @return $this
setRoomName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function getAudioTrackId() { return $this->audio_track_id; }
(optional) Generated from protobuf field <code>string audio_track_id = 2;</code> @return string
getAudioTrackId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function setAudioTrackId($var) { GPBUtil::checkString($var, True); $this->audio_track_id = $var; return $this; }
(optional) Generated from protobuf field <code>string audio_track_id = 2;</code> @param string $var @return $this
setAudioTrackId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function getVideoTrackId() { return $this->video_track_id; }
(optional) Generated from protobuf field <code>string video_track_id = 3;</code> @return string
getVideoTrackId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function setVideoTrackId($var) { GPBUtil::checkString($var, True); $this->video_track_id = $var; return $this; }
(optional) Generated from protobuf field <code>string video_track_id = 3;</code> @param string $var @return $this
setVideoTrackId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function getFile() { @trigger_error('file is deprecated.', E_USER_DEPRECATED); return $this->readOneof(4); }
Generated from protobuf field <code>.livekit.EncodedFileOutput file = 4 [deprecated = true];</code> @return \Livekit\EncodedFileOutput|null @deprecated
getFile
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function setFile($var) { @trigger_error('file is deprecated.', E_USER_DEPRECATED); GPBUtil::checkMessage($var, \Livekit\EncodedFileOutput::class); $this->writeOneof(4, $var); return $this; }
Generated from protobuf field <code>.livekit.EncodedFileOutput file = 4 [deprecated = true];</code> @param \Livekit\EncodedFileOutput $var @return $this @deprecated
setFile
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function getStream() { @trigger_error('stream is deprecated.', E_USER_DEPRECATED); return $this->readOneof(5); }
Generated from protobuf field <code>.livekit.StreamOutput stream = 5 [deprecated = true];</code> @return \Livekit\StreamOutput|null @deprecated
getStream
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function setStream($var) { @trigger_error('stream is deprecated.', E_USER_DEPRECATED); GPBUtil::checkMessage($var, \Livekit\StreamOutput::class); $this->writeOneof(5, $var); return $this; }
Generated from protobuf field <code>.livekit.StreamOutput stream = 5 [deprecated = true];</code> @param \Livekit\StreamOutput $var @return $this @deprecated
setStream
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function getSegments() { @trigger_error('segments is deprecated.', E_USER_DEPRECATED); return $this->readOneof(8); }
Generated from protobuf field <code>.livekit.SegmentedFileOutput segments = 8 [deprecated = true];</code> @return \Livekit\SegmentedFileOutput|null @deprecated
getSegments
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function setSegments($var) { @trigger_error('segments is deprecated.', E_USER_DEPRECATED); GPBUtil::checkMessage($var, \Livekit\SegmentedFileOutput::class); $this->writeOneof(8, $var); return $this; }
Generated from protobuf field <code>.livekit.SegmentedFileOutput segments = 8 [deprecated = true];</code> @param \Livekit\SegmentedFileOutput $var @return $this @deprecated
setSegments
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function getPreset() { return $this->readOneof(6); }
(default H264_720P_30) Generated from protobuf field <code>.livekit.EncodingOptionsPreset preset = 6;</code> @return int
getPreset
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function setPreset($var) { GPBUtil::checkEnum($var, \Livekit\EncodingOptionsPreset::class); $this->writeOneof(6, $var); return $this; }
(default H264_720P_30) Generated from protobuf field <code>.livekit.EncodingOptionsPreset preset = 6;</code> @param int $var @return $this
setPreset
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function getAdvanced() { return $this->readOneof(7); }
(optional) Generated from protobuf field <code>.livekit.EncodingOptions advanced = 7;</code> @return \Livekit\EncodingOptions|null
getAdvanced
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function setAdvanced($var) { GPBUtil::checkMessage($var, \Livekit\EncodingOptions::class); $this->writeOneof(7, $var); return $this; }
(optional) Generated from protobuf field <code>.livekit.EncodingOptions advanced = 7;</code> @param \Livekit\EncodingOptions $var @return $this
setAdvanced
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function getFileOutputs() { return $this->file_outputs; }
Generated from protobuf field <code>repeated .livekit.EncodedFileOutput file_outputs = 11;</code> @return \Google\Protobuf\Internal\RepeatedField
getFileOutputs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.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 = 11;</code> @param \Livekit\EncodedFileOutput[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setFileOutputs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function getStreamOutputs() { return $this->stream_outputs; }
Generated from protobuf field <code>repeated .livekit.StreamOutput stream_outputs = 12;</code> @return \Google\Protobuf\Internal\RepeatedField
getStreamOutputs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function setStreamOutputs($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\StreamOutput::class); $this->stream_outputs = $arr; return $this; }
Generated from protobuf field <code>repeated .livekit.StreamOutput stream_outputs = 12;</code> @param \Livekit\StreamOutput[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setStreamOutputs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function getSegmentOutputs() { return $this->segment_outputs; }
Generated from protobuf field <code>repeated .livekit.SegmentedFileOutput segment_outputs = 13;</code> @return \Google\Protobuf\Internal\RepeatedField
getSegmentOutputs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.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 = 13;</code> @param \Livekit\SegmentedFileOutput[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setSegmentOutputs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function getImageOutputs() { return $this->image_outputs; }
Generated from protobuf field <code>repeated .livekit.ImageOutput image_outputs = 14;</code> @return \Google\Protobuf\Internal\RepeatedField
getImageOutputs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function setImageOutputs($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\ImageOutput::class); $this->image_outputs = $arr; return $this; }
Generated from protobuf field <code>repeated .livekit.ImageOutput image_outputs = 14;</code> @param \Livekit\ImageOutput[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setImageOutputs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackCompositeEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php
Apache-2.0
public function getPlaylistName() { return $this->playlist_name; }
Generated from protobuf field <code>string playlist_name = 1;</code> @return string
getPlaylistName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php
Apache-2.0
public function setPlaylistName($var) { GPBUtil::checkString($var, True); $this->playlist_name = $var; return $this; }
Generated from protobuf field <code>string playlist_name = 1;</code> @param string $var @return $this
setPlaylistName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php
Apache-2.0
public function getLivePlaylistName() { return $this->live_playlist_name; }
Generated from protobuf field <code>string live_playlist_name = 8;</code> @return string
getLivePlaylistName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php
Apache-2.0
public function setLivePlaylistName($var) { GPBUtil::checkString($var, True); $this->live_playlist_name = $var; return $this; }
Generated from protobuf field <code>string live_playlist_name = 8;</code> @param string $var @return $this
setLivePlaylistName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php
Apache-2.0
public function getDuration() { return $this->duration; }
Generated from protobuf field <code>int64 duration = 2;</code> @return int|string
getDuration
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php
Apache-2.0
public function setDuration($var) { GPBUtil::checkInt64($var); $this->duration = $var; return $this; }
Generated from protobuf field <code>int64 duration = 2;</code> @param int|string $var @return $this
setDuration
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php
Apache-2.0
public function getSize() { return $this->size; }
Generated from protobuf field <code>int64 size = 3;</code> @return int|string
getSize
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php
Apache-2.0
public function setSize($var) { GPBUtil::checkInt64($var); $this->size = $var; return $this; }
Generated from protobuf field <code>int64 size = 3;</code> @param int|string $var @return $this
setSize
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php
Apache-2.0
public function getPlaylistLocation() { return $this->playlist_location; }
Generated from protobuf field <code>string playlist_location = 4;</code> @return string
getPlaylistLocation
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php
Apache-2.0
public function setPlaylistLocation($var) { GPBUtil::checkString($var, True); $this->playlist_location = $var; return $this; }
Generated from protobuf field <code>string playlist_location = 4;</code> @param string $var @return $this
setPlaylistLocation
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php
Apache-2.0
public function getLivePlaylistLocation() { return $this->live_playlist_location; }
Generated from protobuf field <code>string live_playlist_location = 9;</code> @return string
getLivePlaylistLocation
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php
Apache-2.0
public function setLivePlaylistLocation($var) { GPBUtil::checkString($var, True); $this->live_playlist_location = $var; return $this; }
Generated from protobuf field <code>string live_playlist_location = 9;</code> @param string $var @return $this
setLivePlaylistLocation
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php
Apache-2.0
public function getSegmentCount() { return $this->segment_count; }
Generated from protobuf field <code>int64 segment_count = 5;</code> @return int|string
getSegmentCount
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php
Apache-2.0
public function setSegmentCount($var) { GPBUtil::checkInt64($var); $this->segment_count = $var; return $this; }
Generated from protobuf field <code>int64 segment_count = 5;</code> @param int|string $var @return $this
setSegmentCount
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php
Apache-2.0
public function getStartedAt() { return $this->started_at; }
Generated from protobuf field <code>int64 started_at = 6;</code> @return int|string
getStartedAt
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.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 = 6;</code> @param int|string $var @return $this
setStartedAt
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php
Apache-2.0
public function getEndedAt() { return $this->ended_at; }
Generated from protobuf field <code>int64 ended_at = 7;</code> @return int|string
getEndedAt
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.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 = 7;</code> @param int|string $var @return $this
setEndedAt
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentsInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php
Apache-2.0
public function getUrl() { return $this->url; }
Generated from protobuf field <code>string url = 1;</code> @return string
getUrl
php
agence104/livekit-server-sdk-php
src/proto/Livekit/StreamInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/StreamInfo.php
Apache-2.0
public function setUrl($var) { GPBUtil::checkString($var, True); $this->url = $var; return $this; }
Generated from protobuf field <code>string url = 1;</code> @param string $var @return $this
setUrl
php
agence104/livekit-server-sdk-php
src/proto/Livekit/StreamInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/StreamInfo.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/StreamInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/StreamInfo.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/StreamInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/StreamInfo.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/StreamInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/StreamInfo.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/StreamInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/StreamInfo.php
Apache-2.0