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 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 getTrack()
{
return $this->track;
} | set when event is track_*
Generated from protobuf field <code>.livekit.TrackInfo track = 8;</code>
@return \Livekit\TrackInfo|null | getTrack | 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 setTrack($var)
{
GPBUtil::checkMessage($var, \Livekit\TrackInfo::class);
$this->track = $var;
return $this;
} | set when event is track_*
Generated from protobuf field <code>.livekit.TrackInfo track = 8;</code>
@param \Livekit\TrackInfo $var
@return $this | setTrack | 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 getId()
{
return $this->id;
} | unique event uuid
Generated from protobuf field <code>string id = 6;</code>
@return string | getId | 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 setId($var)
{
GPBUtil::checkString($var, True);
$this->id = $var;
return $this;
} | unique event uuid
Generated from protobuf field <code>string id = 6;</code>
@param string $var
@return $this | setId | 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 getCreatedAt()
{
return $this->created_at;
} | timestamp in seconds
Generated from protobuf field <code>int64 created_at = 7;</code>
@return int|string | getCreatedAt | 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 setCreatedAt($var)
{
GPBUtil::checkInt64($var);
$this->created_at = $var;
return $this;
} | timestamp in seconds
Generated from protobuf field <code>int64 created_at = 7;</code>
@param int|string $var
@return $this | setCreatedAt | 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 getProtocol()
{
return $this->protocol;
} | required
Generated from protobuf field <code>.livekit.StreamProtocol protocol = 1;</code>
@return int | getProtocol | 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 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 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/TrackEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackEgressRequest.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/TrackEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackEgressRequest.php | Apache-2.0 |
public function getTrackId()
{
return $this->track_id;
} | required
Generated from protobuf field <code>string track_id = 2;</code>
@return string | getTrackId | 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 setTrackId($var)
{
GPBUtil::checkString($var, True);
$this->track_id = $var;
return $this;
} | required
Generated from protobuf field <code>string track_id = 2;</code>
@param string $var
@return $this | setTrackId | 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 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 |
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 getStartTime()
{
return $this->start_time;
} | Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 1;</code>
@return \Google\Protobuf\Timestamp|null | getStartTime | 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 setStartTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->start_time = $var;
return $this;
} | Generated from protobuf field <code>.google.protobuf.Timestamp start_time = 1;</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setStartTime | 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 getEndTime()
{
return $this->end_time;
} | Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 2;</code>
@return \Google\Protobuf\Timestamp|null | getEndTime | 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 setEndTime($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->end_time = $var;
return $this;
} | Generated from protobuf field <code>.google.protobuf.Timestamp end_time = 2;</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setEndTime | 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 getDuration()
{
return $this->duration;
} | Generated from protobuf field <code>double duration = 3;</code>
@return float | getDuration | 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 setDuration($var)
{
GPBUtil::checkDouble($var);
$this->duration = $var;
return $this;
} | Generated from protobuf field <code>double duration = 3;</code>
@param float $var
@return $this | setDuration | 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 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 getTrackSids()
{
return $this->track_sids;
} | Generated from protobuf field <code>repeated string track_sids = 2;</code>
@return \Google\Protobuf\Internal\RepeatedField | getTrackSids | 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 setTrackSids($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->track_sids = $arr;
return $this;
} | Generated from protobuf field <code>repeated string track_sids = 2;</code>
@param string[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setTrackSids | 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 getTimestampMs()
{
return $this->timestamp_ms;
} | time at which this batch is sent based on a monotonic clock (millisecond resolution)
Generated from protobuf field <code>int64 timestamp_ms = 1;</code>
@return int|string | getTimestampMs | 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 setTimestampMs($var)
{
GPBUtil::checkInt64($var);
$this->timestamp_ms = $var;
return $this;
} | time at which this batch is sent based on a monotonic clock (millisecond resolution)
Generated from protobuf field <code>int64 timestamp_ms = 1;</code>
@param int|string $var
@return $this | setTimestampMs | 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 getNormalizedTimestamp()
{
return $this->normalized_timestamp;
} | Generated from protobuf field <code>.google.protobuf.Timestamp normalized_timestamp = 2;</code>
@return \Google\Protobuf\Timestamp|null | getNormalizedTimestamp | 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 setNormalizedTimestamp($var)
{
GPBUtil::checkMessage($var, \Google\Protobuf\Timestamp::class);
$this->normalized_timestamp = $var;
return $this;
} | Generated from protobuf field <code>.google.protobuf.Timestamp normalized_timestamp = 2;</code>
@param \Google\Protobuf\Timestamp $var
@return $this | setNormalizedTimestamp | 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 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 getItems()
{
return $this->items;
} | Generated from protobuf field <code>repeated .livekit.IngressInfo items = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getItems | 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 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 getProtocol()
{
return $this->protocol;
} | (optional)
Generated from protobuf field <code>.livekit.SegmentedFileProtocol protocol = 1;</code>
@return int | getProtocol | 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 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 getFilenamePrefix()
{
return $this->filename_prefix;
} | (optional)
Generated from protobuf field <code>string filename_prefix = 2;</code>
@return string | getFilenamePrefix | 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 setFilenamePrefix($var)
{
GPBUtil::checkString($var, True);
$this->filename_prefix = $var;
return $this;
} | (optional)
Generated from protobuf field <code>string filename_prefix = 2;</code>
@param string $var
@return $this | setFilenamePrefix | 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 getPlaylistName()
{
return $this->playlist_name;
} | (optional)
Generated from protobuf field <code>string playlist_name = 3;</code>
@return string | getPlaylistName | 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 setPlaylistName($var)
{
GPBUtil::checkString($var, True);
$this->playlist_name = $var;
return $this;
} | (optional)
Generated from protobuf field <code>string playlist_name = 3;</code>
@param string $var
@return $this | setPlaylistName | 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 getLivePlaylistName()
{
return $this->live_playlist_name;
} | (optional, disabled if not provided). Path of a live playlist
Generated from protobuf field <code>string live_playlist_name = 11;</code>
@return string | getLivePlaylistName | 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 setLivePlaylistName($var)
{
GPBUtil::checkString($var, True);
$this->live_playlist_name = $var;
return $this;
} | (optional, disabled if not provided). Path of a live playlist
Generated from protobuf field <code>string live_playlist_name = 11;</code>
@param string $var
@return $this | setLivePlaylistName | 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 getDisableManifest()
{
return $this->disable_manifest;
} | disable upload of manifest file (default false)
Generated from protobuf field <code>bool disable_manifest = 8;</code>
@return bool | getDisableManifest | 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 setDisableManifest($var)
{
GPBUtil::checkBool($var);
$this->disable_manifest = $var;
return $this;
} | disable upload of manifest file (default false)
Generated from protobuf field <code>bool disable_manifest = 8;</code>
@param bool $var
@return $this | setDisableManifest | 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 getMimeType()
{
return $this->mime_type;
} | Generated from protobuf field <code>string mime_type = 1;</code>
@return string | getMimeType | 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 setMimeType($var)
{
GPBUtil::checkString($var, True);
$this->mime_type = $var;
return $this;
} | Generated from protobuf field <code>string mime_type = 1;</code>
@param string $var
@return $this | setMimeType | 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 getAverageBitrate()
{
return $this->average_bitrate;
} | Generated from protobuf field <code>uint32 average_bitrate = 2;</code>
@return int | getAverageBitrate | 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 setAverageBitrate($var)
{
GPBUtil::checkUint32($var);
$this->average_bitrate = $var;
return $this;
} | Generated from protobuf field <code>uint32 average_bitrate = 2;</code>
@param int $var
@return $this | setAverageBitrate | 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 getWidth()
{
return $this->width;
} | Generated from protobuf field <code>uint32 width = 3;</code>
@return int | getWidth | 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 setWidth($var)
{
GPBUtil::checkUint32($var);
$this->width = $var;
return $this;
} | Generated from protobuf field <code>uint32 width = 3;</code>
@param int $var
@return $this | setWidth | 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 getHeight()
{
return $this->height;
} | Generated from protobuf field <code>uint32 height = 4;</code>
@return int | getHeight | 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 setHeight($var)
{
GPBUtil::checkUint32($var);
$this->height = $var;
return $this;
} | Generated from protobuf field <code>uint32 height = 4;</code>
@param int $var
@return $this | setHeight | 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 getFramerate()
{
return $this->framerate;
} | Generated from protobuf field <code>double framerate = 5;</code>
@return float | getFramerate | 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 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 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.