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 getWebsocketUrl() { return $this->readOneof(4); }
Generated from protobuf field <code>string websocket_url = 4;</code> @return string
getWebsocketUrl
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 setWebsocketUrl($var) { GPBUtil::checkString($var, True); $this->writeOneof(4, $var); return $this; }
Generated from protobuf field <code>string websocket_url = 4;</code> @param string $var @return $this
setWebsocketUrl
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 getStartTimestamp() { return $this->start_timestamp; }
Generated from protobuf field <code>uint64 start_timestamp = 4;</code> @return int|string
getStartTimestamp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RTPDrift.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPDrift.php
Apache-2.0
public function setStartTimestamp($var) { GPBUtil::checkUint64($var); $this->start_timestamp = $var; return $this; }
Generated from protobuf field <code>uint64 start_timestamp = 4;</code> @param int|string $var @return $this
setStartTimestamp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RTPDrift.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPDrift.php
Apache-2.0
public function getEndTimestamp() { return $this->end_timestamp; }
Generated from protobuf field <code>uint64 end_timestamp = 5;</code> @return int|string
getEndTimestamp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RTPDrift.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPDrift.php
Apache-2.0
public function setEndTimestamp($var) { GPBUtil::checkUint64($var); $this->end_timestamp = $var; return $this; }
Generated from protobuf field <code>uint64 end_timestamp = 5;</code> @param int|string $var @return $this
setEndTimestamp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RTPDrift.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPDrift.php
Apache-2.0
public function getRtpClockTicks() { return $this->rtp_clock_ticks; }
Generated from protobuf field <code>uint64 rtp_clock_ticks = 6;</code> @return int|string
getRtpClockTicks
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RTPDrift.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPDrift.php
Apache-2.0
public function setRtpClockTicks($var) { GPBUtil::checkUint64($var); $this->rtp_clock_ticks = $var; return $this; }
Generated from protobuf field <code>uint64 rtp_clock_ticks = 6;</code> @param int|string $var @return $this
setRtpClockTicks
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RTPDrift.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPDrift.php
Apache-2.0
public function getDriftSamples() { return $this->drift_samples; }
Generated from protobuf field <code>int64 drift_samples = 7;</code> @return int|string
getDriftSamples
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RTPDrift.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPDrift.php
Apache-2.0
public function setDriftSamples($var) { GPBUtil::checkInt64($var); $this->drift_samples = $var; return $this; }
Generated from protobuf field <code>int64 drift_samples = 7;</code> @param int|string $var @return $this
setDriftSamples
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RTPDrift.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPDrift.php
Apache-2.0
public function getDriftMs() { return $this->drift_ms; }
Generated from protobuf field <code>double drift_ms = 8;</code> @return float
getDriftMs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RTPDrift.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPDrift.php
Apache-2.0
public function setDriftMs($var) { GPBUtil::checkDouble($var); $this->drift_ms = $var; return $this; }
Generated from protobuf field <code>double drift_ms = 8;</code> @param float $var @return $this
setDriftMs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RTPDrift.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPDrift.php
Apache-2.0
public function getClockRate() { return $this->clock_rate; }
Generated from protobuf field <code>double clock_rate = 9;</code> @return float
getClockRate
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RTPDrift.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPDrift.php
Apache-2.0
public function setClockRate($var) { GPBUtil::checkDouble($var); $this->clock_rate = $var; return $this; }
Generated from protobuf field <code>double clock_rate = 9;</code> @param float $var @return $this
setClockRate
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RTPDrift.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPDrift.php
Apache-2.0
public function getMime() { return $this->mime; }
Generated from protobuf field <code>string mime = 1;</code> @return string
getMime
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Codec.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Codec.php
Apache-2.0
public function setMime($var) { GPBUtil::checkString($var, True); $this->mime = $var; return $this; }
Generated from protobuf field <code>string mime = 1;</code> @param string $var @return $this
setMime
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Codec.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Codec.php
Apache-2.0
public function getFmtpLine() { return $this->fmtp_line; }
Generated from protobuf field <code>string fmtp_line = 2;</code> @return string
getFmtpLine
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Codec.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Codec.php
Apache-2.0
public function setFmtpLine($var) { GPBUtil::checkString($var, True); $this->fmtp_line = $var; return $this; }
Generated from protobuf field <code>string fmtp_line = 2;</code> @param string $var @return $this
setFmtpLine
php
agence104/livekit-server-sdk-php
src/proto/Livekit/Codec.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/Codec.php
Apache-2.0
public function getParticipantSid() { return $this->participant_sid; }
participant ID of participant to whom the tracks belong Generated from protobuf field <code>string participant_sid = 1;</code> @return string
getParticipantSid
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ParticipantTracks.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantTracks.php
Apache-2.0
public function setParticipantSid($var) { GPBUtil::checkString($var, True); $this->participant_sid = $var; return $this; }
participant ID of participant to whom the tracks belong Generated from protobuf field <code>string participant_sid = 1;</code> @param string $var @return $this
setParticipantSid
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ParticipantTracks.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantTracks.php
Apache-2.0
public function getStrData() { return $this->str_data; }
To avoid repeating string values, we store them in a separate list and reference them by index This is useful for storing participant identities, track names, etc. There is also a predefined list of labels that can be used to reference common metrics. They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE. Generated from protobuf field <code>repeated string str_data = 3;</code> @return \Google\Protobuf\Internal\RepeatedField
getStrData
php
agence104/livekit-server-sdk-php
src/proto/Livekit/MetricsBatch.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/MetricsBatch.php
Apache-2.0
public function setStrData($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->str_data = $arr; return $this; }
To avoid repeating string values, we store them in a separate list and reference them by index This is useful for storing participant identities, track names, etc. There is also a predefined list of labels that can be used to reference common metrics. They have reserved indices from 0 to (METRIC_LABEL_PREDEFINED_MAX_VALUE - 1). Indexes pointing at str_data should start from METRIC_LABEL_PREDEFINED_MAX_VALUE, such that str_data[0] == index of METRIC_LABEL_PREDEFINED_MAX_VALUE. Generated from protobuf field <code>repeated string str_data = 3;</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setStrData
php
agence104/livekit-server-sdk-php
src/proto/Livekit/MetricsBatch.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/MetricsBatch.php
Apache-2.0
public function getTimeSeries() { return $this->time_series; }
Generated from protobuf field <code>repeated .livekit.TimeSeriesMetric time_series = 4;</code> @return \Google\Protobuf\Internal\RepeatedField
getTimeSeries
php
agence104/livekit-server-sdk-php
src/proto/Livekit/MetricsBatch.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/MetricsBatch.php
Apache-2.0
public function setTimeSeries($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\TimeSeriesMetric::class); $this->time_series = $arr; return $this; }
Generated from protobuf field <code>repeated .livekit.TimeSeriesMetric time_series = 4;</code> @param \Livekit\TimeSeriesMetric[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setTimeSeries
php
agence104/livekit-server-sdk-php
src/proto/Livekit/MetricsBatch.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/MetricsBatch.php
Apache-2.0
public function getEvents() { return $this->events; }
Generated from protobuf field <code>repeated .livekit.EventMetric events = 5;</code> @return \Google\Protobuf\Internal\RepeatedField
getEvents
php
agence104/livekit-server-sdk-php
src/proto/Livekit/MetricsBatch.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/MetricsBatch.php
Apache-2.0
public function setEvents($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\EventMetric::class); $this->events = $arr; return $this; }
Generated from protobuf field <code>repeated .livekit.EventMetric events = 5;</code> @param \Livekit\EventMetric[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setEvents
php
agence104/livekit-server-sdk-php
src/proto/Livekit/MetricsBatch.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/MetricsBatch.php
Apache-2.0
public function setItems($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\IngressInfo::class); $this->items = $arr; return $this; }
Generated from protobuf field <code>repeated .livekit.IngressInfo items = 1;</code> @param \Livekit\IngressInfo[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setItems
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ListIngressResponse.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListIngressResponse.php
Apache-2.0
public function setProtocol($var) { GPBUtil::checkEnum($var, \Livekit\SegmentedFileProtocol::class); $this->protocol = $var; return $this; }
(optional) Generated from protobuf field <code>.livekit.SegmentedFileProtocol protocol = 1;</code> @param int $var @return $this
setProtocol
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentedFileOutput.php
Apache-2.0
public function getSegmentDuration() { return $this->segment_duration; }
in seconds (optional) Generated from protobuf field <code>uint32 segment_duration = 4;</code> @return int
getSegmentDuration
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentedFileOutput.php
Apache-2.0
public function setSegmentDuration($var) { GPBUtil::checkUint32($var); $this->segment_duration = $var; return $this; }
in seconds (optional) Generated from protobuf field <code>uint32 segment_duration = 4;</code> @param int $var @return $this
setSegmentDuration
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentedFileOutput.php
Apache-2.0
public function getFilenameSuffix() { return $this->filename_suffix; }
(optional, default INDEX) Generated from protobuf field <code>.livekit.SegmentedFileSuffix filename_suffix = 10;</code> @return int
getFilenameSuffix
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentedFileOutput.php
Apache-2.0
public function setFilenameSuffix($var) { GPBUtil::checkEnum($var, \Livekit\SegmentedFileSuffix::class); $this->filename_suffix = $var; return $this; }
(optional, default INDEX) Generated from protobuf field <code>.livekit.SegmentedFileSuffix filename_suffix = 10;</code> @param int $var @return $this
setFilenameSuffix
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentedFileOutput.php
Apache-2.0
public function getS3() { return $this->readOneof(5); }
Generated from protobuf field <code>.livekit.S3Upload s3 = 5;</code> @return \Livekit\S3Upload|null
getS3
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentedFileOutput.php
Apache-2.0
public function setS3($var) { GPBUtil::checkMessage($var, \Livekit\S3Upload::class); $this->writeOneof(5, $var); return $this; }
Generated from protobuf field <code>.livekit.S3Upload s3 = 5;</code> @param \Livekit\S3Upload $var @return $this
setS3
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentedFileOutput.php
Apache-2.0
public function getGcp() { return $this->readOneof(6); }
Generated from protobuf field <code>.livekit.GCPUpload gcp = 6;</code> @return \Livekit\GCPUpload|null
getGcp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentedFileOutput.php
Apache-2.0
public function setGcp($var) { GPBUtil::checkMessage($var, \Livekit\GCPUpload::class); $this->writeOneof(6, $var); return $this; }
Generated from protobuf field <code>.livekit.GCPUpload gcp = 6;</code> @param \Livekit\GCPUpload $var @return $this
setGcp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentedFileOutput.php
Apache-2.0
public function getAzure() { return $this->readOneof(7); }
Generated from protobuf field <code>.livekit.AzureBlobUpload azure = 7;</code> @return \Livekit\AzureBlobUpload|null
getAzure
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentedFileOutput.php
Apache-2.0
public function setAzure($var) { GPBUtil::checkMessage($var, \Livekit\AzureBlobUpload::class); $this->writeOneof(7, $var); return $this; }
Generated from protobuf field <code>.livekit.AzureBlobUpload azure = 7;</code> @param \Livekit\AzureBlobUpload $var @return $this
setAzure
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentedFileOutput.php
Apache-2.0
public function getAliOSS() { return $this->readOneof(9); }
Generated from protobuf field <code>.livekit.AliOSSUpload aliOSS = 9;</code> @return \Livekit\AliOSSUpload|null
getAliOSS
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentedFileOutput.php
Apache-2.0
public function setAliOSS($var) { GPBUtil::checkMessage($var, \Livekit\AliOSSUpload::class); $this->writeOneof(9, $var); return $this; }
Generated from protobuf field <code>.livekit.AliOSSUpload aliOSS = 9;</code> @param \Livekit\AliOSSUpload $var @return $this
setAliOSS
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SegmentedFileOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentedFileOutput.php
Apache-2.0
public function setFramerate($var) { GPBUtil::checkDouble($var); $this->framerate = $var; return $this; }
Generated from protobuf field <code>double framerate = 5;</code> @param float $var @return $this
setFramerate
php
agence104/livekit-server-sdk-php
src/proto/Livekit/InputVideoState.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/InputVideoState.php
Apache-2.0
public function getParticipantId() { return $this->participant_id; }
Generated from protobuf field <code>string participant_id = 1;</code> @return string
getParticipantId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPParticipantInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPParticipantInfo.php
Apache-2.0
public function setParticipantId($var) { GPBUtil::checkString($var, True); $this->participant_id = $var; return $this; }
Generated from protobuf field <code>string participant_id = 1;</code> @param string $var @return $this
setParticipantId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPParticipantInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPParticipantInfo.php
Apache-2.0
public function getSipCallId() { return $this->sip_call_id; }
Generated from protobuf field <code>string sip_call_id = 4;</code> @return string
getSipCallId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPParticipantInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPParticipantInfo.php
Apache-2.0
public function setSipCallId($var) { GPBUtil::checkString($var, True); $this->sip_call_id = $var; return $this; }
Generated from protobuf field <code>string sip_call_id = 4;</code> @param string $var @return $this
setSipCallId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPParticipantInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPParticipantInfo.php
Apache-2.0
public function getUser() { return $this->user; }
Generated from protobuf field <code>string user = 1;</code> @return string
getUser
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPUri.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPUri.php
Apache-2.0
public function setUser($var) { GPBUtil::checkString($var, True); $this->user = $var; return $this; }
Generated from protobuf field <code>string user = 1;</code> @param string $var @return $this
setUser
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPUri.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPUri.php
Apache-2.0
public function getHost() { return $this->host; }
Generated from protobuf field <code>string host = 2;</code> @return string
getHost
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPUri.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPUri.php
Apache-2.0
public function setHost($var) { GPBUtil::checkString($var, True); $this->host = $var; return $this; }
Generated from protobuf field <code>string host = 2;</code> @param string $var @return $this
setHost
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPUri.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPUri.php
Apache-2.0
public function getIp() { return $this->ip; }
Generated from protobuf field <code>string ip = 3;</code> @return string
getIp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPUri.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPUri.php
Apache-2.0
public function setIp($var) { GPBUtil::checkString($var, True); $this->ip = $var; return $this; }
Generated from protobuf field <code>string ip = 3;</code> @param string $var @return $this
setIp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPUri.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPUri.php
Apache-2.0
public function getPort() { return $this->port; }
Generated from protobuf field <code>uint32 port = 4;</code> @return int
getPort
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPUri.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPUri.php
Apache-2.0
public function setPort($var) { GPBUtil::checkUint32($var); $this->port = $var; return $this; }
Generated from protobuf field <code>uint32 port = 4;</code> @param int $var @return $this
setPort
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPUri.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPUri.php
Apache-2.0
public function setVideo($var) { GPBUtil::checkMessage($var, \Livekit\VideoConfiguration::class); $this->video = $var; return $this; }
Generated from protobuf field <code>.livekit.VideoConfiguration video = 1;</code> @param \Livekit\VideoConfiguration $var @return $this
setVideo
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientConfiguration.php
Apache-2.0
public function getScreen() { return $this->screen; }
Generated from protobuf field <code>.livekit.VideoConfiguration screen = 2;</code> @return \Livekit\VideoConfiguration|null
getScreen
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientConfiguration.php
Apache-2.0
public function setScreen($var) { GPBUtil::checkMessage($var, \Livekit\VideoConfiguration::class); $this->screen = $var; return $this; }
Generated from protobuf field <code>.livekit.VideoConfiguration screen = 2;</code> @param \Livekit\VideoConfiguration $var @return $this
setScreen
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientConfiguration.php
Apache-2.0
public function getResumeConnection() { return $this->resume_connection; }
Generated from protobuf field <code>.livekit.ClientConfigSetting resume_connection = 3;</code> @return int
getResumeConnection
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientConfiguration.php
Apache-2.0
public function setResumeConnection($var) { GPBUtil::checkEnum($var, \Livekit\ClientConfigSetting::class); $this->resume_connection = $var; return $this; }
Generated from protobuf field <code>.livekit.ClientConfigSetting resume_connection = 3;</code> @param int $var @return $this
setResumeConnection
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientConfiguration.php
Apache-2.0
public function getDisabledCodecs() { return $this->disabled_codecs; }
Generated from protobuf field <code>.livekit.DisabledCodecs disabled_codecs = 4;</code> @return \Livekit\DisabledCodecs|null
getDisabledCodecs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientConfiguration.php
Apache-2.0
public function setDisabledCodecs($var) { GPBUtil::checkMessage($var, \Livekit\DisabledCodecs::class); $this->disabled_codecs = $var; return $this; }
Generated from protobuf field <code>.livekit.DisabledCodecs disabled_codecs = 4;</code> @param \Livekit\DisabledCodecs $var @return $this
setDisabledCodecs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientConfiguration.php
Apache-2.0
public function getForceRelay() { return $this->force_relay; }
Generated from protobuf field <code>.livekit.ClientConfigSetting force_relay = 5;</code> @return int
getForceRelay
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientConfiguration.php
Apache-2.0
public function setForceRelay($var) { GPBUtil::checkEnum($var, \Livekit\ClientConfigSetting::class); $this->force_relay = $var; return $this; }
Generated from protobuf field <code>.livekit.ClientConfigSetting force_relay = 5;</code> @param int $var @return $this
setForceRelay
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ClientConfiguration.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ClientConfiguration.php
Apache-2.0
public function getCaptureInterval() { return $this->capture_interval; }
in seconds (required) Generated from protobuf field <code>uint32 capture_interval = 1;</code> @return int
getCaptureInterval
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ImageOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImageOutput.php
Apache-2.0
public function setCaptureInterval($var) { GPBUtil::checkUint32($var); $this->capture_interval = $var; return $this; }
in seconds (required) Generated from protobuf field <code>uint32 capture_interval = 1;</code> @param int $var @return $this
setCaptureInterval
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ImageOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImageOutput.php
Apache-2.0
public function setFilenameSuffix($var) { GPBUtil::checkEnum($var, \Livekit\ImageFileSuffix::class); $this->filename_suffix = $var; return $this; }
(optional, default INDEX) Generated from protobuf field <code>.livekit.ImageFileSuffix filename_suffix = 5;</code> @param int $var @return $this
setFilenameSuffix
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ImageOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImageOutput.php
Apache-2.0
public function getImageCodec() { return $this->image_codec; }
(optional) Generated from protobuf field <code>.livekit.ImageCodec image_codec = 6;</code> @return int
getImageCodec
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ImageOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImageOutput.php
Apache-2.0
public function setImageCodec($var) { GPBUtil::checkEnum($var, \Livekit\ImageCodec::class); $this->image_codec = $var; return $this; }
(optional) Generated from protobuf field <code>.livekit.ImageCodec image_codec = 6;</code> @param int $var @return $this
setImageCodec
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ImageOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImageOutput.php
Apache-2.0
public function getS3() { return $this->readOneof(8); }
Generated from protobuf field <code>.livekit.S3Upload s3 = 8;</code> @return \Livekit\S3Upload|null
getS3
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ImageOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImageOutput.php
Apache-2.0
public function setS3($var) { GPBUtil::checkMessage($var, \Livekit\S3Upload::class); $this->writeOneof(8, $var); return $this; }
Generated from protobuf field <code>.livekit.S3Upload s3 = 8;</code> @param \Livekit\S3Upload $var @return $this
setS3
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ImageOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImageOutput.php
Apache-2.0
public function getGcp() { return $this->readOneof(9); }
Generated from protobuf field <code>.livekit.GCPUpload gcp = 9;</code> @return \Livekit\GCPUpload|null
getGcp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ImageOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImageOutput.php
Apache-2.0
public function setGcp($var) { GPBUtil::checkMessage($var, \Livekit\GCPUpload::class); $this->writeOneof(9, $var); return $this; }
Generated from protobuf field <code>.livekit.GCPUpload gcp = 9;</code> @param \Livekit\GCPUpload $var @return $this
setGcp
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ImageOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImageOutput.php
Apache-2.0
public function getAzure() { return $this->readOneof(10); }
Generated from protobuf field <code>.livekit.AzureBlobUpload azure = 10;</code> @return \Livekit\AzureBlobUpload|null
getAzure
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ImageOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImageOutput.php
Apache-2.0
public function setAzure($var) { GPBUtil::checkMessage($var, \Livekit\AzureBlobUpload::class); $this->writeOneof(10, $var); return $this; }
Generated from protobuf field <code>.livekit.AzureBlobUpload azure = 10;</code> @param \Livekit\AzureBlobUpload $var @return $this
setAzure
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ImageOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImageOutput.php
Apache-2.0
public function getAliOSS() { return $this->readOneof(11); }
Generated from protobuf field <code>.livekit.AliOSSUpload aliOSS = 11;</code> @return \Livekit\AliOSSUpload|null
getAliOSS
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ImageOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImageOutput.php
Apache-2.0
public function setAliOSS($var) { GPBUtil::checkMessage($var, \Livekit\AliOSSUpload::class); $this->writeOneof(11, $var); return $this; }
Generated from protobuf field <code>.livekit.AliOSSUpload aliOSS = 11;</code> @param \Livekit\AliOSSUpload $var @return $this
setAliOSS
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ImageOutput.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ImageOutput.php
Apache-2.0
public function getSpeakers() { return $this->speakers; }
Generated from protobuf field <code>repeated .livekit.SpeakerInfo speakers = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getSpeakers
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ActiveSpeakerUpdate.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ActiveSpeakerUpdate.php
Apache-2.0
public function setSpeakers($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\SpeakerInfo::class); $this->speakers = $arr; return $this; }
Generated from protobuf field <code>repeated .livekit.SpeakerInfo speakers = 1;</code> @param \Livekit\SpeakerInfo[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setSpeakers
php
agence104/livekit-server-sdk-php
src/proto/Livekit/ActiveSpeakerUpdate.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ActiveSpeakerUpdate.php
Apache-2.0
public function getDispatches() { return $this->dispatches; }
Generated from protobuf field <code>repeated .livekit.RoomAgentDispatch dispatches = 1;</code> @return \Google\Protobuf\Internal\RepeatedField
getDispatches
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomAgent.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomAgent.php
Apache-2.0
public function setDispatches($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\RoomAgentDispatch::class); $this->dispatches = $arr; return $this; }
Generated from protobuf field <code>repeated .livekit.RoomAgentDispatch dispatches = 1;</code> @param \Livekit\RoomAgentDispatch[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setDispatches
php
agence104/livekit-server-sdk-php
src/proto/Livekit/RoomAgent.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RoomAgent.php
Apache-2.0
public function getHostname() { return $this->hostname; }
SIP server address Generated from protobuf field <code>string hostname = 1;</code> @return string
getHostname
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundConfig.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundConfig.php
Apache-2.0
public function setHostname($var) { GPBUtil::checkString($var, True); $this->hostname = $var; return $this; }
SIP server address Generated from protobuf field <code>string hostname = 1;</code> @param string $var @return $this
setHostname
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPOutboundConfig.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPOutboundConfig.php
Apache-2.0
public function getDispatchRuleDirect() { return $this->readOneof(1); }
SIPDispatchRuleDirect is a `SIP Dispatch Rule` that puts a user directly into a room This places users into an existing room. Optionally you can require a pin before a user can enter the room Generated from protobuf field <code>.livekit.SIPDispatchRuleDirect dispatch_rule_direct = 1;</code> @return \Livekit\SIPDispatchRuleDirect|null
getDispatchRuleDirect
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPDispatchRule.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPDispatchRule.php
Apache-2.0
public function setDispatchRuleDirect($var) { GPBUtil::checkMessage($var, \Livekit\SIPDispatchRuleDirect::class); $this->writeOneof(1, $var); return $this; }
SIPDispatchRuleDirect is a `SIP Dispatch Rule` that puts a user directly into a room This places users into an existing room. Optionally you can require a pin before a user can enter the room Generated from protobuf field <code>.livekit.SIPDispatchRuleDirect dispatch_rule_direct = 1;</code> @param \Livekit\SIPDispatchRuleDirect $var @return $this
setDispatchRuleDirect
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPDispatchRule.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPDispatchRule.php
Apache-2.0
public function getDispatchRuleIndividual() { return $this->readOneof(2); }
SIPDispatchRuleIndividual is a `SIP Dispatch Rule` that creates a new room for each caller. Generated from protobuf field <code>.livekit.SIPDispatchRuleIndividual dispatch_rule_individual = 2;</code> @return \Livekit\SIPDispatchRuleIndividual|null
getDispatchRuleIndividual
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPDispatchRule.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPDispatchRule.php
Apache-2.0
public function setDispatchRuleIndividual($var) { GPBUtil::checkMessage($var, \Livekit\SIPDispatchRuleIndividual::class); $this->writeOneof(2, $var); return $this; }
SIPDispatchRuleIndividual is a `SIP Dispatch Rule` that creates a new room for each caller. Generated from protobuf field <code>.livekit.SIPDispatchRuleIndividual dispatch_rule_individual = 2;</code> @param \Livekit\SIPDispatchRuleIndividual $var @return $this
setDispatchRuleIndividual
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPDispatchRule.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPDispatchRule.php
Apache-2.0
public function getDispatchRuleCallee() { return $this->readOneof(3); }
SIPDispatchRuleCallee is a `SIP Dispatch Rule` that creates a new room for each callee. Generated from protobuf field <code>.livekit.SIPDispatchRuleCallee dispatch_rule_callee = 3;</code> @return \Livekit\SIPDispatchRuleCallee|null
getDispatchRuleCallee
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPDispatchRule.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPDispatchRule.php
Apache-2.0
public function setDispatchRuleCallee($var) { GPBUtil::checkMessage($var, \Livekit\SIPDispatchRuleCallee::class); $this->writeOneof(3, $var); return $this; }
SIPDispatchRuleCallee is a `SIP Dispatch Rule` that creates a new room for each callee. Generated from protobuf field <code>.livekit.SIPDispatchRuleCallee dispatch_rule_callee = 3;</code> @param \Livekit\SIPDispatchRuleCallee $var @return $this
setDispatchRuleCallee
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPDispatchRule.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPDispatchRule.php
Apache-2.0
public function getAudioOnly() { return $this->audio_only; }
Generated from protobuf field <code>bool audio_only = 2;</code> @return bool
getAudioOnly
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebEgressRequest.php
Apache-2.0
public function setAudioOnly($var) { GPBUtil::checkBool($var); $this->audio_only = $var; return $this; }
Generated from protobuf field <code>bool audio_only = 2;</code> @param bool $var @return $this
setAudioOnly
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebEgressRequest.php
Apache-2.0
public function getVideoOnly() { return $this->video_only; }
Generated from protobuf field <code>bool video_only = 3;</code> @return bool
getVideoOnly
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebEgressRequest.php
Apache-2.0
public function setVideoOnly($var) { GPBUtil::checkBool($var); $this->video_only = $var; return $this; }
Generated from protobuf field <code>bool video_only = 3;</code> @param bool $var @return $this
setVideoOnly
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebEgressRequest.php
Apache-2.0
public function getAwaitStartSignal() { return $this->await_start_signal; }
Generated from protobuf field <code>bool await_start_signal = 12;</code> @return bool
getAwaitStartSignal
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebEgressRequest.php
Apache-2.0
public function setAwaitStartSignal($var) { GPBUtil::checkBool($var); $this->await_start_signal = $var; return $this; }
Generated from protobuf field <code>bool await_start_signal = 12;</code> @param bool $var @return $this
setAwaitStartSignal
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebEgressRequest.php
Apache-2.0
public function getSegments() { @trigger_error('segments is deprecated.', E_USER_DEPRECATED); return $this->readOneof(6); }
Generated from protobuf field <code>.livekit.SegmentedFileOutput segments = 6 [deprecated = true];</code> @return \Livekit\SegmentedFileOutput|null @deprecated
getSegments
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebEgressRequest.php
Apache-2.0
public function setSegments($var) { @trigger_error('segments is deprecated.', E_USER_DEPRECATED); GPBUtil::checkMessage($var, \Livekit\SegmentedFileOutput::class); $this->writeOneof(6, $var); return $this; }
Generated from protobuf field <code>.livekit.SegmentedFileOutput segments = 6 [deprecated = true];</code> @param \Livekit\SegmentedFileOutput $var @return $this @deprecated
setSegments
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebEgressRequest.php
Apache-2.0
public function getPreset() { return $this->readOneof(7); }
Generated from protobuf field <code>.livekit.EncodingOptionsPreset preset = 7;</code> @return int
getPreset
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebEgressRequest.php
Apache-2.0
public function setPreset($var) { GPBUtil::checkEnum($var, \Livekit\EncodingOptionsPreset::class); $this->writeOneof(7, $var); return $this; }
Generated from protobuf field <code>.livekit.EncodingOptionsPreset preset = 7;</code> @param int $var @return $this
setPreset
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebEgressRequest.php
Apache-2.0
public function getAdvanced() { return $this->readOneof(8); }
Generated from protobuf field <code>.livekit.EncodingOptions advanced = 8;</code> @return \Livekit\EncodingOptions|null
getAdvanced
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebEgressRequest.php
Apache-2.0
public function setAdvanced($var) { GPBUtil::checkMessage($var, \Livekit\EncodingOptions::class); $this->writeOneof(8, $var); return $this; }
Generated from protobuf field <code>.livekit.EncodingOptions advanced = 8;</code> @param \Livekit\EncodingOptions $var @return $this
setAdvanced
php
agence104/livekit-server-sdk-php
src/proto/Livekit/WebEgressRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WebEgressRequest.php
Apache-2.0
public function setCode($var) { GPBUtil::checkEnum($var, \Livekit\SIPStatusCode::class); $this->code = $var; return $this; }
Generated from protobuf field <code>.livekit.SIPStatusCode code = 1;</code> @param int $var @return $this
setCode
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPStatus.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPStatus.php
Apache-2.0