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 getCallId() { return $this->call_id; }
Generated from protobuf field <code>string call_id = 1;</code> @return string
getCallId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPCallInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPCallInfo.php
Apache-2.0
public function setCallId($var) { GPBUtil::checkString($var, True); $this->call_id = $var; return $this; }
Generated from protobuf field <code>string call_id = 1;</code> @param string $var @return $this
setCallId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPCallInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPCallInfo.php
Apache-2.0
public function getTrunkId() { return $this->trunk_id; }
Generated from protobuf field <code>string trunk_id = 2;</code> @return string
getTrunkId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPCallInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPCallInfo.php
Apache-2.0
public function setTrunkId($var) { GPBUtil::checkString($var, True); $this->trunk_id = $var; return $this; }
Generated from protobuf field <code>string trunk_id = 2;</code> @param string $var @return $this
setTrunkId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPCallInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPCallInfo.php
Apache-2.0
public function getFromUri() { return $this->from_uri; }
Generated from protobuf field <code>.livekit.SIPUri from_uri = 6;</code> @return \Livekit\SIPUri|null
getFromUri
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPCallInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPCallInfo.php
Apache-2.0
public function setFromUri($var) { GPBUtil::checkMessage($var, \Livekit\SIPUri::class); $this->from_uri = $var; return $this; }
Generated from protobuf field <code>.livekit.SIPUri from_uri = 6;</code> @param \Livekit\SIPUri $var @return $this
setFromUri
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPCallInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPCallInfo.php
Apache-2.0
public function getToUri() { return $this->to_uri; }
Generated from protobuf field <code>.livekit.SIPUri to_uri = 7;</code> @return \Livekit\SIPUri|null
getToUri
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPCallInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPCallInfo.php
Apache-2.0
public function setToUri($var) { GPBUtil::checkMessage($var, \Livekit\SIPUri::class); $this->to_uri = $var; return $this; }
Generated from protobuf field <code>.livekit.SIPUri to_uri = 7;</code> @param \Livekit\SIPUri $var @return $this
setToUri
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPCallInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPCallInfo.php
Apache-2.0
public function getEnabledFeatures() { return $this->enabled_features; }
Generated from protobuf field <code>repeated .livekit.SIPFeature enabled_features = 14;</code> @return \Google\Protobuf\Internal\RepeatedField
getEnabledFeatures
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPCallInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPCallInfo.php
Apache-2.0
public function setEnabledFeatures($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::ENUM, \Livekit\SIPFeature::class); $this->enabled_features = $arr; return $this; }
Generated from protobuf field <code>repeated .livekit.SIPFeature enabled_features = 14;</code> @param int[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setEnabledFeatures
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPCallInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPCallInfo.php
Apache-2.0
public function getCallDirection() { return $this->call_direction; }
Generated from protobuf field <code>.livekit.SIPCallDirection call_direction = 15;</code> @return int
getCallDirection
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPCallInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPCallInfo.php
Apache-2.0
public function setCallDirection($var) { GPBUtil::checkEnum($var, \Livekit\SIPCallDirection::class); $this->call_direction = $var; return $this; }
Generated from protobuf field <code>.livekit.SIPCallDirection call_direction = 15;</code> @param int $var @return $this
setCallDirection
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPCallInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPCallInfo.php
Apache-2.0
public function getCallStatus() { return $this->call_status; }
Generated from protobuf field <code>.livekit.SIPCallStatus call_status = 8;</code> @return int
getCallStatus
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPCallInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPCallInfo.php
Apache-2.0
public function setCallStatus($var) { GPBUtil::checkEnum($var, \Livekit\SIPCallStatus::class); $this->call_status = $var; return $this; }
Generated from protobuf field <code>.livekit.SIPCallStatus call_status = 8;</code> @param int $var @return $this
setCallStatus
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPCallInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPCallInfo.php
Apache-2.0
public function setItems($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\EgressInfo::class); $this->items = $arr; return $this; }
Generated from protobuf field <code>repeated .livekit.EgressInfo items = 1;</code> @param \Livekit\EgressInfo[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setItems
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListEgressResponse.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListEgressResponse.php
Apache-2.0
public function getCid() { return $this->cid; }
Generated from protobuf field <code>string cid = 3;</code> @return string
getCid
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SimulcastCodecInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SimulcastCodecInfo.php
Apache-2.0
public function setCid($var) { GPBUtil::checkString($var, True); $this->cid = $var; return $this; }
Generated from protobuf field <code>string cid = 3;</code> @param string $var @return $this
setCid
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SimulcastCodecInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SimulcastCodecInfo.php
Apache-2.0
public function setTrunk($var) { GPBUtil::checkMessage($var, \Livekit\SIPInboundTrunkInfo::class); $this->trunk = $var; return $this; }
Trunk ID is ignored Generated from protobuf field <code>.livekit.SIPInboundTrunkInfo trunk = 1;</code> @param \Livekit\SIPInboundTrunkInfo $var @return $this
setTrunk
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPInboundTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPInboundTrunkRequest.php
Apache-2.0
public function getNames() { return $this->names; }
when set, will only return rooms with name match Generated from protobuf field <code>repeated string names = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getNames
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListRoomsRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListRoomsRequest.php
Apache-2.0
public function setNames($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->names = $arr; return $this; }
when set, will only return rooms with name match Generated from protobuf field <code>repeated string names = 1;</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setNames
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListRoomsRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListRoomsRequest.php
Apache-2.0
public function getUrl() { return isset($this->url) ? $this->url : ''; }
Generated from protobuf field <code>optional string url = 2;</code> @return string
getUrl
php
agence104/livekit-server-sdk-php
src/proto/Livekit/JobAssignment.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/JobAssignment.php
Apache-2.0
public function getToken() { return $this->token; }
Generated from protobuf field <code>string token = 3;</code> @return string
getToken
php
agence104/livekit-server-sdk-php
src/proto/Livekit/JobAssignment.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/JobAssignment.php
Apache-2.0
public function setToken($var) { GPBUtil::checkString($var, True); $this->token = $var; return $this; }
Generated from protobuf field <code>string token = 3;</code> @param string $var @return $this
setToken
php
agence104/livekit-server-sdk-php
src/proto/Livekit/JobAssignment.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/JobAssignment.php
Apache-2.0
public function getExtLastPictureId() { return $this->ext_last_picture_id; }
Generated from protobuf field <code>int32 ext_last_picture_id = 1;</code> @return int
getExtLastPictureId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VP8MungerState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VP8MungerState.php
Apache-2.0
public function setExtLastPictureId($var) { GPBUtil::checkInt32($var); $this->ext_last_picture_id = $var; return $this; }
Generated from protobuf field <code>int32 ext_last_picture_id = 1;</code> @param int $var @return $this
setExtLastPictureId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VP8MungerState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VP8MungerState.php
Apache-2.0
public function getPictureIdUsed() { return $this->picture_id_used; }
Generated from protobuf field <code>bool picture_id_used = 2;</code> @return bool
getPictureIdUsed
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VP8MungerState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VP8MungerState.php
Apache-2.0
public function setPictureIdUsed($var) { GPBUtil::checkBool($var); $this->picture_id_used = $var; return $this; }
Generated from protobuf field <code>bool picture_id_used = 2;</code> @param bool $var @return $this
setPictureIdUsed
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VP8MungerState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VP8MungerState.php
Apache-2.0
public function getLastTl0PicIdx() { return $this->last_tl0_pic_idx; }
Generated from protobuf field <code>uint32 last_tl0_pic_idx = 3;</code> @return int
getLastTl0PicIdx
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VP8MungerState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VP8MungerState.php
Apache-2.0
public function setLastTl0PicIdx($var) { GPBUtil::checkUint32($var); $this->last_tl0_pic_idx = $var; return $this; }
Generated from protobuf field <code>uint32 last_tl0_pic_idx = 3;</code> @param int $var @return $this
setLastTl0PicIdx
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VP8MungerState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VP8MungerState.php
Apache-2.0
public function getTl0PicIdxUsed() { return $this->tl0_pic_idx_used; }
Generated from protobuf field <code>bool tl0_pic_idx_used = 4;</code> @return bool
getTl0PicIdxUsed
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VP8MungerState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VP8MungerState.php
Apache-2.0
public function setTl0PicIdxUsed($var) { GPBUtil::checkBool($var); $this->tl0_pic_idx_used = $var; return $this; }
Generated from protobuf field <code>bool tl0_pic_idx_used = 4;</code> @param bool $var @return $this
setTl0PicIdxUsed
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VP8MungerState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VP8MungerState.php
Apache-2.0
public function getTidUsed() { return $this->tid_used; }
Generated from protobuf field <code>bool tid_used = 5;</code> @return bool
getTidUsed
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VP8MungerState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VP8MungerState.php
Apache-2.0
public function setTidUsed($var) { GPBUtil::checkBool($var); $this->tid_used = $var; return $this; }
Generated from protobuf field <code>bool tid_used = 5;</code> @param bool $var @return $this
setTidUsed
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VP8MungerState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VP8MungerState.php
Apache-2.0
public function getLastKeyIdx() { return $this->last_key_idx; }
Generated from protobuf field <code>uint32 last_key_idx = 6;</code> @return int
getLastKeyIdx
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VP8MungerState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VP8MungerState.php
Apache-2.0
public function setLastKeyIdx($var) { GPBUtil::checkUint32($var); $this->last_key_idx = $var; return $this; }
Generated from protobuf field <code>uint32 last_key_idx = 6;</code> @param int $var @return $this
setLastKeyIdx
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VP8MungerState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VP8MungerState.php
Apache-2.0
public function getKeyIdxUsed() { return $this->key_idx_used; }
Generated from protobuf field <code>bool key_idx_used = 7;</code> @return bool
getKeyIdxUsed
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VP8MungerState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VP8MungerState.php
Apache-2.0
public function setKeyIdxUsed($var) { GPBUtil::checkBool($var); $this->key_idx_used = $var; return $this; }
Generated from protobuf field <code>bool key_idx_used = 7;</code> @param bool $var @return $this
setKeyIdxUsed
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VP8MungerState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VP8MungerState.php
Apache-2.0
public function setRegister($var) { GPBUtil::checkMessage($var, \Livekit\RegisterWorkerResponse::class); $this->writeOneof(1, $var); return $this; }
server confirms the registration, from this moment on, the worker is considered active Generated from protobuf field <code>.livekit.RegisterWorkerResponse register = 1;</code> @param \Livekit\RegisterWorkerResponse $var @return $this
setRegister
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerMessage.php
Apache-2.0
public function setAvailability($var) { GPBUtil::checkMessage($var, \Livekit\AvailabilityRequest::class); $this->writeOneof(2, $var); return $this; }
server asks worker to confirm availability for a job Generated from protobuf field <code>.livekit.AvailabilityRequest availability = 2;</code> @param \Livekit\AvailabilityRequest $var @return $this
setAvailability
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerMessage.php
Apache-2.0
public function getAssignment() { return $this->readOneof(3); }
Generated from protobuf field <code>.livekit.JobAssignment assignment = 3;</code> @return \Livekit\JobAssignment|null
getAssignment
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerMessage.php
Apache-2.0
public function setAssignment($var) { GPBUtil::checkMessage($var, \Livekit\JobAssignment::class); $this->writeOneof(3, $var); return $this; }
Generated from protobuf field <code>.livekit.JobAssignment assignment = 3;</code> @param \Livekit\JobAssignment $var @return $this
setAssignment
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerMessage.php
Apache-2.0
public function getTermination() { return $this->readOneof(5); }
Generated from protobuf field <code>.livekit.JobTermination termination = 5;</code> @return \Livekit\JobTermination|null
getTermination
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerMessage.php
Apache-2.0
public function setTermination($var) { GPBUtil::checkMessage($var, \Livekit\JobTermination::class); $this->writeOneof(5, $var); return $this; }
Generated from protobuf field <code>.livekit.JobTermination termination = 5;</code> @param \Livekit\JobTermination $var @return $this
setTermination
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerMessage.php
Apache-2.0
public function getPong() { return $this->readOneof(4); }
Generated from protobuf field <code>.livekit.WorkerPong pong = 4;</code> @return \Livekit\WorkerPong|null
getPong
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerMessage.php
Apache-2.0
public function setPong($var) { GPBUtil::checkMessage($var, \Livekit\WorkerPong::class); $this->writeOneof(4, $var); return $this; }
Generated from protobuf field <code>.livekit.WorkerPong pong = 4;</code> @param \Livekit\WorkerPong $var @return $this
setPong
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ServerMessage.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ServerMessage.php
Apache-2.0
public function getFileType() { return $this->file_type; }
(optional) Generated from protobuf field <code>.livekit.EncodedFileType file_type = 1;</code> @return int
getFileType
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodedFileOutput.php
Apache-2.0
public function setFileType($var) { GPBUtil::checkEnum($var, \Livekit\EncodedFileType::class); $this->file_type = $var; return $this; }
(optional) Generated from protobuf field <code>.livekit.EncodedFileType file_type = 1;</code> @param int $var @return $this
setFileType
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodedFileOutput.php
Apache-2.0
public function getS3() { return $this->readOneof(3); }
Generated from protobuf field <code>.livekit.S3Upload s3 = 3;</code> @return \Livekit\S3Upload|null
getS3
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodedFileOutput.php
Apache-2.0
public function setS3($var) { GPBUtil::checkMessage($var, \Livekit\S3Upload::class); $this->writeOneof(3, $var); return $this; }
Generated from protobuf field <code>.livekit.S3Upload s3 = 3;</code> @param \Livekit\S3Upload $var @return $this
setS3
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodedFileOutput.php
Apache-2.0
public function getGcp() { return $this->readOneof(4); }
Generated from protobuf field <code>.livekit.GCPUpload gcp = 4;</code> @return \Livekit\GCPUpload|null
getGcp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodedFileOutput.php
Apache-2.0
public function setGcp($var) { GPBUtil::checkMessage($var, \Livekit\GCPUpload::class); $this->writeOneof(4, $var); return $this; }
Generated from protobuf field <code>.livekit.GCPUpload gcp = 4;</code> @param \Livekit\GCPUpload $var @return $this
setGcp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodedFileOutput.php
Apache-2.0
public function getAzure() { return $this->readOneof(5); }
Generated from protobuf field <code>.livekit.AzureBlobUpload azure = 5;</code> @return \Livekit\AzureBlobUpload|null
getAzure
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodedFileOutput.php
Apache-2.0
public function setAzure($var) { GPBUtil::checkMessage($var, \Livekit\AzureBlobUpload::class); $this->writeOneof(5, $var); return $this; }
Generated from protobuf field <code>.livekit.AzureBlobUpload azure = 5;</code> @param \Livekit\AzureBlobUpload $var @return $this
setAzure
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodedFileOutput.php
Apache-2.0
public function getAliOSS() { return $this->readOneof(7); }
Generated from protobuf field <code>.livekit.AliOSSUpload aliOSS = 7;</code> @return \Livekit\AliOSSUpload|null
getAliOSS
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodedFileOutput.php
Apache-2.0
public function setAliOSS($var) { GPBUtil::checkMessage($var, \Livekit\AliOSSUpload::class); $this->writeOneof(7, $var); return $this; }
Generated from protobuf field <code>.livekit.AliOSSUpload aliOSS = 7;</code> @param \Livekit\AliOSSUpload $var @return $this
setAliOSS
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodedFileOutput.php
Apache-2.0
public function getDispatchRuleIds() { return $this->dispatch_rule_ids; }
Rule IDs to list. If this option is set, the response will contains rules in the same order. If any of the rules is missing, a nil item in that position will be sent in the response. Generated from protobuf field <code>repeated string dispatch_rule_ids = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getDispatchRuleIds
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListSIPDispatchRuleRequest.php
Apache-2.0
public function setDispatchRuleIds($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->dispatch_rule_ids = $arr; return $this; }
Rule IDs to list. If this option is set, the response will contains rules in the same order. If any of the rules is missing, a nil item in that position will be sent in the response. Generated from protobuf field <code>repeated string dispatch_rule_ids = 1;</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setDispatchRuleIds
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListSIPDispatchRuleRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListSIPDispatchRuleRequest.php
Apache-2.0
public function getDigit() { return $this->digit; }
Generated from protobuf field <code>string digit = 4;</code> @return string
getDigit
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SipDTMF.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SipDTMF.php
Apache-2.0
public function setDigit($var) { GPBUtil::checkString($var, True); $this->digit = $var; return $this; }
Generated from protobuf field <code>string digit = 4;</code> @param string $var @return $this
setDigit
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SipDTMF.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SipDTMF.php
Apache-2.0
public function getScreenShare() { return $this->screen_share; }
(default false) Generated from protobuf field <code>bool screen_share = 3;</code> @return bool
getScreenShare
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ParticipantEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantEgressRequest.php
Apache-2.0
public function setScreenShare($var) { GPBUtil::checkBool($var); $this->screen_share = $var; return $this; }
(default false) Generated from protobuf field <code>bool screen_share = 3;</code> @param bool $var @return $this
setScreenShare
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ParticipantEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantEgressRequest.php
Apache-2.0
public function getPreset() { return $this->readOneof(4); }
(default H264_720P_30) Generated from protobuf field <code>.livekit.EncodingOptionsPreset preset = 4;</code> @return int
getPreset
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ParticipantEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantEgressRequest.php
Apache-2.0
public function setPreset($var) { GPBUtil::checkEnum($var, \Livekit\EncodingOptionsPreset::class); $this->writeOneof(4, $var); return $this; }
(default H264_720P_30) Generated from protobuf field <code>.livekit.EncodingOptionsPreset preset = 4;</code> @param int $var @return $this
setPreset
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ParticipantEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantEgressRequest.php
Apache-2.0
public function getAdvanced() { return $this->readOneof(5); }
(optional) Generated from protobuf field <code>.livekit.EncodingOptions advanced = 5;</code> @return \Livekit\EncodingOptions|null
getAdvanced
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ParticipantEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantEgressRequest.php
Apache-2.0
public function setAdvanced($var) { GPBUtil::checkMessage($var, \Livekit\EncodingOptions::class); $this->writeOneof(5, $var); return $this; }
(optional) Generated from protobuf field <code>.livekit.EncodingOptions advanced = 5;</code> @param \Livekit\EncodingOptions $var @return $this
setAdvanced
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ParticipantEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantEgressRequest.php
Apache-2.0
public function getNamespace() { @trigger_error('namespace is deprecated.', E_USER_DEPRECATED); return $this->namespace; }
Generated from protobuf field <code>string namespace = 5 [deprecated = true];</code> @return string @deprecated
getNamespace
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Job.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Job.php
Apache-2.0
public function setNamespace($var) { @trigger_error('namespace is deprecated.', E_USER_DEPRECATED); GPBUtil::checkString($var, True); $this->namespace = $var; return $this; }
Generated from protobuf field <code>string namespace = 5 [deprecated = true];</code> @param string $var @return $this @deprecated
setNamespace
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Job.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Job.php
Apache-2.0
public function setState($var) { GPBUtil::checkMessage($var, \Livekit\JobState::class); $this->state = $var; return $this; }
Generated from protobuf field <code>.livekit.JobState state = 8;</code> @param \Livekit\JobState $var @return $this
setState
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Job.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Job.php
Apache-2.0
public function getCreationTime() { return $this->creation_time; }
Generated from protobuf field <code>int64 creation_time = 5;</code> @return int|string
getCreationTime
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Room.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Room.php
Apache-2.0
public function setCreationTime($var) { GPBUtil::checkInt64($var); $this->creation_time = $var; return $this; }
Generated from protobuf field <code>int64 creation_time = 5;</code> @param int|string $var @return $this
setCreationTime
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Room.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Room.php
Apache-2.0
public function getCreationTimeMs() { return $this->creation_time_ms; }
Generated from protobuf field <code>int64 creation_time_ms = 15;</code> @return int|string
getCreationTimeMs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Room.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Room.php
Apache-2.0
public function setCreationTimeMs($var) { GPBUtil::checkInt64($var); $this->creation_time_ms = $var; return $this; }
Generated from protobuf field <code>int64 creation_time_ms = 15;</code> @param int|string $var @return $this
setCreationTimeMs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Room.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Room.php
Apache-2.0
public function getTurnPassword() { return $this->turn_password; }
Generated from protobuf field <code>string turn_password = 6;</code> @return string
getTurnPassword
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Room.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Room.php
Apache-2.0
public function setTurnPassword($var) { GPBUtil::checkString($var, True); $this->turn_password = $var; return $this; }
Generated from protobuf field <code>string turn_password = 6;</code> @param string $var @return $this
setTurnPassword
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Room.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Room.php
Apache-2.0
public function getEnabledCodecs() { return $this->enabled_codecs; }
Generated from protobuf field <code>repeated .livekit.Codec enabled_codecs = 7;</code> @return \Google\Protobuf\Internal\RepeatedField
getEnabledCodecs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Room.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Room.php
Apache-2.0
public function setEnabledCodecs($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\Codec::class); $this->enabled_codecs = $arr; return $this; }
Generated from protobuf field <code>repeated .livekit.Codec enabled_codecs = 7;</code> @param \Livekit\Codec[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setEnabledCodecs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Room.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Room.php
Apache-2.0
public function getNumParticipants() { return $this->num_participants; }
Generated from protobuf field <code>uint32 num_participants = 9;</code> @return int
getNumParticipants
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Room.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Room.php
Apache-2.0
public function setNumParticipants($var) { GPBUtil::checkUint32($var); $this->num_participants = $var; return $this; }
Generated from protobuf field <code>uint32 num_participants = 9;</code> @param int $var @return $this
setNumParticipants
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Room.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Room.php
Apache-2.0
public function getNumPublishers() { return $this->num_publishers; }
Generated from protobuf field <code>uint32 num_publishers = 11;</code> @return int
getNumPublishers
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Room.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Room.php
Apache-2.0
public function setNumPublishers($var) { GPBUtil::checkUint32($var); $this->num_publishers = $var; return $this; }
Generated from protobuf field <code>uint32 num_publishers = 11;</code> @param int $var @return $this
setNumPublishers
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Room.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Room.php
Apache-2.0
public function getActiveRecording() { return $this->active_recording; }
Generated from protobuf field <code>bool active_recording = 10;</code> @return bool
getActiveRecording
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Room.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Room.php
Apache-2.0
public function setActiveRecording($var) { GPBUtil::checkBool($var); $this->active_recording = $var; return $this; }
Generated from protobuf field <code>bool active_recording = 10;</code> @param bool $var @return $this
setActiveRecording
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Room.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Room.php
Apache-2.0
public function setItems($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\SIPTrunkInfo::class); $this->items = $arr; return $this; }
Generated from protobuf field <code>repeated .livekit.SIPTrunkInfo items = 1;</code> @param \Livekit\SIPTrunkInfo[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setItems
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListSIPTrunkResponse.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListSIPTrunkResponse.php
Apache-2.0
public function getEvent() { return $this->event; }
one of room_started, room_finished, participant_joined, participant_left, track_published, track_unpublished, egress_started, egress_updated, egress_ended, ingress_started, ingress_ended Generated from protobuf field <code>string event = 1;</code> @return string
getEvent
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebhookEvent.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebhookEvent.php
Apache-2.0
public function setEvent($var) { GPBUtil::checkString($var, True); $this->event = $var; return $this; }
one of room_started, room_finished, participant_joined, participant_left, track_published, track_unpublished, egress_started, egress_updated, egress_ended, ingress_started, ingress_ended Generated from protobuf field <code>string event = 1;</code> @param string $var @return $this
setEvent
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebhookEvent.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebhookEvent.php
Apache-2.0
public function getEgressInfo() { return $this->egress_info; }
set when event is egress_* Generated from protobuf field <code>.livekit.EgressInfo egress_info = 9;</code> @return \Livekit\EgressInfo|null
getEgressInfo
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebhookEvent.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebhookEvent.php
Apache-2.0
public function setEgressInfo($var) { GPBUtil::checkMessage($var, \Livekit\EgressInfo::class); $this->egress_info = $var; return $this; }
set when event is egress_* Generated from protobuf field <code>.livekit.EgressInfo egress_info = 9;</code> @param \Livekit\EgressInfo $var @return $this
setEgressInfo
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebhookEvent.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebhookEvent.php
Apache-2.0
public function getIngressInfo() { return $this->ingress_info; }
set when event is ingress_* Generated from protobuf field <code>.livekit.IngressInfo ingress_info = 10;</code> @return \Livekit\IngressInfo|null
getIngressInfo
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebhookEvent.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebhookEvent.php
Apache-2.0
public function setIngressInfo($var) { GPBUtil::checkMessage($var, \Livekit\IngressInfo::class); $this->ingress_info = $var; return $this; }
set when event is ingress_* Generated from protobuf field <code>.livekit.IngressInfo ingress_info = 10;</code> @param \Livekit\IngressInfo $var @return $this
setIngressInfo
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebhookEvent.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebhookEvent.php
Apache-2.0
public function getNumDropped() { return $this->num_dropped; }
Generated from protobuf field <code>int32 num_dropped = 11;</code> @return int
getNumDropped
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebhookEvent.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebhookEvent.php
Apache-2.0
public function setNumDropped($var) { GPBUtil::checkInt32($var); $this->num_dropped = $var; return $this; }
Generated from protobuf field <code>int32 num_dropped = 11;</code> @param int $var @return $this
setNumDropped
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebhookEvent.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebhookEvent.php
Apache-2.0
public function setProtocol($var) { GPBUtil::checkEnum($var, \Livekit\StreamProtocol::class); $this->protocol = $var; return $this; }
required Generated from protobuf field <code>.livekit.StreamProtocol protocol = 1;</code> @param int $var @return $this
setProtocol
php
agence104/livekit-server-sdk-php
src/proto/Livekit/StreamOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/StreamOutput.php
Apache-2.0
public function getUrls() { return $this->urls; }
required Generated from protobuf field <code>repeated string urls = 2;</code> @return \Google\Protobuf\Internal\RepeatedField
getUrls
php
agence104/livekit-server-sdk-php
src/proto/Livekit/StreamOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/StreamOutput.php
Apache-2.0
public function setUrls($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->urls = $arr; return $this; }
required Generated from protobuf field <code>repeated string urls = 2;</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setUrls
php
agence104/livekit-server-sdk-php
src/proto/Livekit/StreamOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/StreamOutput.php
Apache-2.0
public function getStatus() { return isset($this->status) ? $this->status : 0; }
Generated from protobuf field <code>optional .livekit.WorkerStatus status = 1;</code> @return int
getStatus
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateWorkerStatus.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateWorkerStatus.php
Apache-2.0
public function setStatus($var) { GPBUtil::checkEnum($var, \Livekit\WorkerStatus::class); $this->status = $var; return $this; }
Generated from protobuf field <code>optional .livekit.WorkerStatus status = 1;</code> @param int $var @return $this
setStatus
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateWorkerStatus.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateWorkerStatus.php
Apache-2.0
public function getJobCount() { return $this->job_count; }
Generated from protobuf field <code>uint32 job_count = 4;</code> @return int
getJobCount
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateWorkerStatus.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateWorkerStatus.php
Apache-2.0
public function setJobCount($var) { GPBUtil::checkUint32($var); $this->job_count = $var; return $this; }
Generated from protobuf field <code>uint32 job_count = 4;</code> @param int $var @return $this
setJobCount
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateWorkerStatus.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateWorkerStatus.php
Apache-2.0
public function getFile() { return $this->readOneof(3); }
Generated from protobuf field <code>.livekit.DirectFileOutput file = 3;</code> @return \Livekit\DirectFileOutput|null
getFile
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackEgressRequest.php
Apache-2.0
public function setFile($var) { GPBUtil::checkMessage($var, \Livekit\DirectFileOutput::class); $this->writeOneof(3, $var); return $this; }
Generated from protobuf field <code>.livekit.DirectFileOutput file = 3;</code> @param \Livekit\DirectFileOutput $var @return $this
setFile
php
agence104/livekit-server-sdk-php
src/proto/Livekit/TrackEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackEgressRequest.php
Apache-2.0