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 setLastTimestamp($var)
{
GPBUtil::checkInt64($var);
$this->last_timestamp = $var;
return $this;
} | Generated from protobuf field <code>int64 last_timestamp = 1;</code>
@param int|string $var
@return $this | setLastTimestamp | php | agence104/livekit-server-sdk-php | src/proto/Livekit/WorkerPong.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/WorkerPong.php | Apache-2.0 |
public function setStatus($var)
{
GPBUtil::checkEnum($var, \Livekit\JobStatus::class);
$this->status = $var;
return $this;
} | The worker can indicate the job end by either specifying SUCCESS or FAILED
Generated from protobuf field <code>.livekit.JobStatus status = 2;</code>
@param int $var
@return $this | setStatus | php | agence104/livekit-server-sdk-php | src/proto/Livekit/UpdateJobStatus.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateJobStatus.php | Apache-2.0 |
public function getRooms()
{
return $this->rooms;
} | Generated from protobuf field <code>repeated .livekit.Room rooms = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getRooms | php | agence104/livekit-server-sdk-php | src/proto/Livekit/ListRoomsResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListRoomsResponse.php | Apache-2.0 |
public function setRooms($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\Room::class);
$this->rooms = $arr;
return $this;
} | Generated from protobuf field <code>repeated .livekit.Room rooms = 1;</code>
@param \Livekit\Room[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setRooms | php | agence104/livekit-server-sdk-php | src/proto/Livekit/ListRoomsResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListRoomsResponse.php | Apache-2.0 |
public function getAudioTrackId()
{
return $this->audio_track_id;
} | (optional)
Generated from protobuf field <code>string audio_track_id = 2;</code>
@return string | getAudioTrackId | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function setAudioTrackId($var)
{
GPBUtil::checkString($var, True);
$this->audio_track_id = $var;
return $this;
} | (optional)
Generated from protobuf field <code>string audio_track_id = 2;</code>
@param string $var
@return $this | setAudioTrackId | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function getVideoTrackId()
{
return $this->video_track_id;
} | (optional)
Generated from protobuf field <code>string video_track_id = 3;</code>
@return string | getVideoTrackId | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function setVideoTrackId($var)
{
GPBUtil::checkString($var, True);
$this->video_track_id = $var;
return $this;
} | (optional)
Generated from protobuf field <code>string video_track_id = 3;</code>
@param string $var
@return $this | setVideoTrackId | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function getFile()
{
@trigger_error('file is deprecated.', E_USER_DEPRECATED);
return $this->readOneof(4);
} | Generated from protobuf field <code>.livekit.EncodedFileOutput file = 4 [deprecated = true];</code>
@return \Livekit\EncodedFileOutput|null
@deprecated | getFile | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function setFile($var)
{
@trigger_error('file is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkMessage($var, \Livekit\EncodedFileOutput::class);
$this->writeOneof(4, $var);
return $this;
} | Generated from protobuf field <code>.livekit.EncodedFileOutput file = 4 [deprecated = true];</code>
@param \Livekit\EncodedFileOutput $var
@return $this
@deprecated | setFile | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function getStream()
{
@trigger_error('stream is deprecated.', E_USER_DEPRECATED);
return $this->readOneof(5);
} | Generated from protobuf field <code>.livekit.StreamOutput stream = 5 [deprecated = true];</code>
@return \Livekit\StreamOutput|null
@deprecated | getStream | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function setStream($var)
{
@trigger_error('stream is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkMessage($var, \Livekit\StreamOutput::class);
$this->writeOneof(5, $var);
return $this;
} | Generated from protobuf field <code>.livekit.StreamOutput stream = 5 [deprecated = true];</code>
@param \Livekit\StreamOutput $var
@return $this
@deprecated | setStream | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function getSegments()
{
@trigger_error('segments is deprecated.', E_USER_DEPRECATED);
return $this->readOneof(8);
} | Generated from protobuf field <code>.livekit.SegmentedFileOutput segments = 8 [deprecated = true];</code>
@return \Livekit\SegmentedFileOutput|null
@deprecated | getSegments | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function setSegments($var)
{
@trigger_error('segments is deprecated.', E_USER_DEPRECATED);
GPBUtil::checkMessage($var, \Livekit\SegmentedFileOutput::class);
$this->writeOneof(8, $var);
return $this;
} | Generated from protobuf field <code>.livekit.SegmentedFileOutput segments = 8 [deprecated = true];</code>
@param \Livekit\SegmentedFileOutput $var
@return $this
@deprecated | setSegments | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function getPreset()
{
return $this->readOneof(6);
} | (default H264_720P_30)
Generated from protobuf field <code>.livekit.EncodingOptionsPreset preset = 6;</code>
@return int | getPreset | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function setPreset($var)
{
GPBUtil::checkEnum($var, \Livekit\EncodingOptionsPreset::class);
$this->writeOneof(6, $var);
return $this;
} | (default H264_720P_30)
Generated from protobuf field <code>.livekit.EncodingOptionsPreset preset = 6;</code>
@param int $var
@return $this | setPreset | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function getAdvanced()
{
return $this->readOneof(7);
} | (optional)
Generated from protobuf field <code>.livekit.EncodingOptions advanced = 7;</code>
@return \Livekit\EncodingOptions|null | getAdvanced | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function setAdvanced($var)
{
GPBUtil::checkMessage($var, \Livekit\EncodingOptions::class);
$this->writeOneof(7, $var);
return $this;
} | (optional)
Generated from protobuf field <code>.livekit.EncodingOptions advanced = 7;</code>
@param \Livekit\EncodingOptions $var
@return $this | setAdvanced | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function getStreamOutputs()
{
return $this->stream_outputs;
} | Generated from protobuf field <code>repeated .livekit.StreamOutput stream_outputs = 12;</code>
@return \Google\Protobuf\Internal\RepeatedField | getStreamOutputs | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function setStreamOutputs($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\StreamOutput::class);
$this->stream_outputs = $arr;
return $this;
} | Generated from protobuf field <code>repeated .livekit.StreamOutput stream_outputs = 12;</code>
@param \Livekit\StreamOutput[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setStreamOutputs | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function getImageOutputs()
{
return $this->image_outputs;
} | Generated from protobuf field <code>repeated .livekit.ImageOutput image_outputs = 14;</code>
@return \Google\Protobuf\Internal\RepeatedField | getImageOutputs | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function setImageOutputs($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\ImageOutput::class);
$this->image_outputs = $arr;
return $this;
} | Generated from protobuf field <code>repeated .livekit.ImageOutput image_outputs = 14;</code>
@param \Livekit\ImageOutput[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setImageOutputs | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TrackCompositeEgressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TrackCompositeEgressRequest.php | Apache-2.0 |
public function getPlaylistName()
{
return $this->playlist_name;
} | Generated from protobuf field <code>string playlist_name = 1;</code>
@return string | getPlaylistName | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SegmentsInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php | Apache-2.0 |
public function setPlaylistName($var)
{
GPBUtil::checkString($var, True);
$this->playlist_name = $var;
return $this;
} | Generated from protobuf field <code>string playlist_name = 1;</code>
@param string $var
@return $this | setPlaylistName | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SegmentsInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php | Apache-2.0 |
public function getLivePlaylistName()
{
return $this->live_playlist_name;
} | Generated from protobuf field <code>string live_playlist_name = 8;</code>
@return string | getLivePlaylistName | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SegmentsInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php | Apache-2.0 |
public function setLivePlaylistName($var)
{
GPBUtil::checkString($var, True);
$this->live_playlist_name = $var;
return $this;
} | Generated from protobuf field <code>string live_playlist_name = 8;</code>
@param string $var
@return $this | setLivePlaylistName | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SegmentsInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php | Apache-2.0 |
public function getPlaylistLocation()
{
return $this->playlist_location;
} | Generated from protobuf field <code>string playlist_location = 4;</code>
@return string | getPlaylistLocation | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SegmentsInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php | Apache-2.0 |
public function setPlaylistLocation($var)
{
GPBUtil::checkString($var, True);
$this->playlist_location = $var;
return $this;
} | Generated from protobuf field <code>string playlist_location = 4;</code>
@param string $var
@return $this | setPlaylistLocation | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SegmentsInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php | Apache-2.0 |
public function getLivePlaylistLocation()
{
return $this->live_playlist_location;
} | Generated from protobuf field <code>string live_playlist_location = 9;</code>
@return string | getLivePlaylistLocation | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SegmentsInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php | Apache-2.0 |
public function setLivePlaylistLocation($var)
{
GPBUtil::checkString($var, True);
$this->live_playlist_location = $var;
return $this;
} | Generated from protobuf field <code>string live_playlist_location = 9;</code>
@param string $var
@return $this | setLivePlaylistLocation | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SegmentsInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php | Apache-2.0 |
public function getSegmentCount()
{
return $this->segment_count;
} | Generated from protobuf field <code>int64 segment_count = 5;</code>
@return int|string | getSegmentCount | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SegmentsInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php | Apache-2.0 |
public function setSegmentCount($var)
{
GPBUtil::checkInt64($var);
$this->segment_count = $var;
return $this;
} | Generated from protobuf field <code>int64 segment_count = 5;</code>
@param int|string $var
@return $this | setSegmentCount | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SegmentsInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SegmentsInfo.php | Apache-2.0 |
public function setStatus($var)
{
GPBUtil::checkEnum($var, \Livekit\StreamInfo\Status::class);
$this->status = $var;
return $this;
} | Generated from protobuf field <code>.livekit.StreamInfo.Status status = 5;</code>
@param int $var
@return $this | setStatus | php | agence104/livekit-server-sdk-php | src/proto/Livekit/StreamInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/StreamInfo.php | Apache-2.0 |
public function getBypassTranscoding()
{
@trigger_error('bypass_transcoding is deprecated.', E_USER_DEPRECATED);
return isset($this->bypass_transcoding) ? $this->bypass_transcoding : false;
} | Generated from protobuf field <code>optional bool bypass_transcoding = 8 [deprecated = true];</code>
@return bool
@deprecated | getBypassTranscoding | php | agence104/livekit-server-sdk-php | src/proto/Livekit/UpdateIngressRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateIngressRequest.php | Apache-2.0 |
public function setStatus($var)
{
GPBUtil::checkEnum($var, \Livekit\IngressState\Status::class);
$this->status = $var;
return $this;
} | Generated from protobuf field <code>.livekit.IngressState.Status status = 1;</code>
@param int $var
@return $this | setStatus | php | agence104/livekit-server-sdk-php | src/proto/Livekit/IngressState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressState.php | Apache-2.0 |
public function setVideo($var)
{
GPBUtil::checkMessage($var, \Livekit\InputVideoState::class);
$this->video = $var;
return $this;
} | Generated from protobuf field <code>.livekit.InputVideoState video = 3;</code>
@param \Livekit\InputVideoState $var
@return $this | setVideo | php | agence104/livekit-server-sdk-php | src/proto/Livekit/IngressState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressState.php | Apache-2.0 |
public function setAudio($var)
{
GPBUtil::checkMessage($var, \Livekit\InputAudioState::class);
$this->audio = $var;
return $this;
} | Generated from protobuf field <code>.livekit.InputAudioState audio = 4;</code>
@param \Livekit\InputAudioState $var
@return $this | setAudio | php | agence104/livekit-server-sdk-php | src/proto/Livekit/IngressState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressState.php | Apache-2.0 |
public function getResourceId()
{
return $this->resource_id;
} | Generated from protobuf field <code>string resource_id = 9;</code>
@return string | getResourceId | php | agence104/livekit-server-sdk-php | src/proto/Livekit/IngressState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressState.php | Apache-2.0 |
public function setResourceId($var)
{
GPBUtil::checkString($var, True);
$this->resource_id = $var;
return $this;
} | Generated from protobuf field <code>string resource_id = 9;</code>
@param string $var
@return $this | setResourceId | php | agence104/livekit-server-sdk-php | src/proto/Livekit/IngressState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressState.php | Apache-2.0 |
public function setTracks($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\TrackInfo::class);
$this->tracks = $arr;
return $this;
} | Generated from protobuf field <code>repeated .livekit.TrackInfo tracks = 6;</code>
@param \Livekit\TrackInfo[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setTracks | php | agence104/livekit-server-sdk-php | src/proto/Livekit/IngressState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressState.php | Apache-2.0 |
public function getTrack()
{
return $this->track;
} | Generated from protobuf field <code>.livekit.TrackInfo track = 1;</code>
@return \Livekit\TrackInfo|null | getTrack | php | agence104/livekit-server-sdk-php | src/proto/Livekit/MuteRoomTrackResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/MuteRoomTrackResponse.php | Apache-2.0 |
public function setTrack($var)
{
GPBUtil::checkMessage($var, \Livekit\TrackInfo::class);
$this->track = $var;
return $this;
} | Generated from protobuf field <code>.livekit.TrackInfo track = 1;</code>
@param \Livekit\TrackInfo $var
@return $this | setTrack | php | agence104/livekit-server-sdk-php | src/proto/Livekit/MuteRoomTrackResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/MuteRoomTrackResponse.php | Apache-2.0 |
public function getAddImageOutputs()
{
return $this->add_image_outputs;
} | Generated from protobuf field <code>repeated .livekit.ImageOutput add_image_outputs = 2;</code>
@return \Google\Protobuf\Internal\RepeatedField | getAddImageOutputs | php | agence104/livekit-server-sdk-php | src/proto/Livekit/UpdateOutputsRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateOutputsRequest.php | Apache-2.0 |
public function setAddImageOutputs($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\ImageOutput::class);
$this->add_image_outputs = $arr;
return $this;
} | Generated from protobuf field <code>repeated .livekit.ImageOutput add_image_outputs = 2;</code>
@param \Livekit\ImageOutput[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setAddImageOutputs | php | agence104/livekit-server-sdk-php | src/proto/Livekit/UpdateOutputsRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateOutputsRequest.php | Apache-2.0 |
public function getRemoveImageOutputs()
{
return $this->remove_image_outputs;
} | Generated from protobuf field <code>repeated .livekit.ImageOutput remove_image_outputs = 3;</code>
@return \Google\Protobuf\Internal\RepeatedField | getRemoveImageOutputs | php | agence104/livekit-server-sdk-php | src/proto/Livekit/UpdateOutputsRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateOutputsRequest.php | Apache-2.0 |
public function setRemoveImageOutputs($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\ImageOutput::class);
$this->remove_image_outputs = $arr;
return $this;
} | Generated from protobuf field <code>repeated .livekit.ImageOutput remove_image_outputs = 3;</code>
@param \Livekit\ImageOutput[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setRemoveImageOutputs | php | agence104/livekit-server-sdk-php | src/proto/Livekit/UpdateOutputsRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateOutputsRequest.php | Apache-2.0 |
public function getText()
{
return $this->text;
} | Generated from protobuf field <code>string text = 2;</code>
@return string | getText | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TranscriptionSegment.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TranscriptionSegment.php | Apache-2.0 |
public function setText($var)
{
GPBUtil::checkString($var, True);
$this->text = $var;
return $this;
} | Generated from protobuf field <code>string text = 2;</code>
@param string $var
@return $this | setText | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TranscriptionSegment.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TranscriptionSegment.php | Apache-2.0 |
public function getFinal()
{
return $this->final;
} | Generated from protobuf field <code>bool final = 5;</code>
@return bool | getFinal | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TranscriptionSegment.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TranscriptionSegment.php | Apache-2.0 |
public function setFinal($var)
{
GPBUtil::checkBool($var);
$this->final = $var;
return $this;
} | Generated from protobuf field <code>bool final = 5;</code>
@param bool $var
@return $this | setFinal | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TranscriptionSegment.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TranscriptionSegment.php | Apache-2.0 |
public function getLanguage()
{
return $this->language;
} | Generated from protobuf field <code>string language = 6;</code>
@return string | getLanguage | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TranscriptionSegment.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TranscriptionSegment.php | Apache-2.0 |
public function setLanguage($var)
{
GPBUtil::checkString($var, True);
$this->language = $var;
return $this;
} | Generated from protobuf field <code>string language = 6;</code>
@param string $var
@return $this | setLanguage | php | agence104/livekit-server-sdk-php | src/proto/Livekit/TranscriptionSegment.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/TranscriptionSegment.php | Apache-2.0 |
public function setTrackSid($var)
{
GPBUtil::checkString($var, True);
$this->track_sid = $var;
return $this;
} | sid of the track to mute
Generated from protobuf field <code>string track_sid = 3;</code>
@param string $var
@return $this | setTrackSid | php | agence104/livekit-server-sdk-php | src/proto/Livekit/MuteRoomTrackRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/MuteRoomTrackRequest.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/InputAudioState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/InputAudioState.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/InputAudioState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/InputAudioState.php | Apache-2.0 |
public function getSampleRate()
{
return $this->sample_rate;
} | Generated from protobuf field <code>uint32 sample_rate = 4;</code>
@return int | getSampleRate | php | agence104/livekit-server-sdk-php | src/proto/Livekit/InputAudioState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/InputAudioState.php | Apache-2.0 |
public function setSampleRate($var)
{
GPBUtil::checkUint32($var);
$this->sample_rate = $var;
return $this;
} | Generated from protobuf field <code>uint32 sample_rate = 4;</code>
@param int $var
@return $this | setSampleRate | php | agence104/livekit-server-sdk-php | src/proto/Livekit/InputAudioState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/InputAudioState.php | Apache-2.0 |
public function setState($var)
{
GPBUtil::checkEnum($var, \Livekit\ParticipantInfo\State::class);
$this->state = $var;
return $this;
} | Generated from protobuf field <code>.livekit.ParticipantInfo.State state = 3;</code>
@param int $var
@return $this | setState | php | agence104/livekit-server-sdk-php | src/proto/Livekit/ParticipantInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantInfo.php | Apache-2.0 |
public function getJoinedAt()
{
return $this->joined_at;
} | timestamp when participant joined room, in seconds
Generated from protobuf field <code>int64 joined_at = 6;</code>
@return int|string | getJoinedAt | php | agence104/livekit-server-sdk-php | src/proto/Livekit/ParticipantInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantInfo.php | Apache-2.0 |
public function setJoinedAt($var)
{
GPBUtil::checkInt64($var);
$this->joined_at = $var;
return $this;
} | timestamp when participant joined room, in seconds
Generated from protobuf field <code>int64 joined_at = 6;</code>
@param int|string $var
@return $this | setJoinedAt | php | agence104/livekit-server-sdk-php | src/proto/Livekit/ParticipantInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantInfo.php | Apache-2.0 |
public function getJoinedAtMs()
{
return $this->joined_at_ms;
} | timestamp when participant joined room, in milliseconds
Generated from protobuf field <code>int64 joined_at_ms = 17;</code>
@return int|string | getJoinedAtMs | php | agence104/livekit-server-sdk-php | src/proto/Livekit/ParticipantInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantInfo.php | Apache-2.0 |
public function setJoinedAtMs($var)
{
GPBUtil::checkInt64($var);
$this->joined_at_ms = $var;
return $this;
} | timestamp when participant joined room, in milliseconds
Generated from protobuf field <code>int64 joined_at_ms = 17;</code>
@param int|string $var
@return $this | setJoinedAtMs | php | agence104/livekit-server-sdk-php | src/proto/Livekit/ParticipantInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantInfo.php | Apache-2.0 |
public function getIsPublisher()
{
return $this->is_publisher;
} | indicates the participant has an active publisher connection
and can publish to the server
Generated from protobuf field <code>bool is_publisher = 13;</code>
@return bool | getIsPublisher | php | agence104/livekit-server-sdk-php | src/proto/Livekit/ParticipantInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantInfo.php | Apache-2.0 |
public function setIsPublisher($var)
{
GPBUtil::checkBool($var);
$this->is_publisher = $var;
return $this;
} | indicates the participant has an active publisher connection
and can publish to the server
Generated from protobuf field <code>bool is_publisher = 13;</code>
@param bool $var
@return $this | setIsPublisher | php | agence104/livekit-server-sdk-php | src/proto/Livekit/ParticipantInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantInfo.php | Apache-2.0 |
public function setKind($var)
{
GPBUtil::checkEnum($var, \Livekit\ParticipantInfo\Kind::class);
$this->kind = $var;
return $this;
} | Generated from protobuf field <code>.livekit.ParticipantInfo.Kind kind = 14;</code>
@param int $var
@return $this | setKind | php | agence104/livekit-server-sdk-php | src/proto/Livekit/ParticipantInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantInfo.php | Apache-2.0 |
public function getDisconnectReason()
{
return $this->disconnect_reason;
} | Generated from protobuf field <code>.livekit.DisconnectReason disconnect_reason = 16;</code>
@return int | getDisconnectReason | php | agence104/livekit-server-sdk-php | src/proto/Livekit/ParticipantInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantInfo.php | Apache-2.0 |
public function setDisconnectReason($var)
{
GPBUtil::checkEnum($var, \Livekit\DisconnectReason::class);
$this->disconnect_reason = $var;
return $this;
} | Generated from protobuf field <code>.livekit.DisconnectReason disconnect_reason = 16;</code>
@param int $var
@return $this | setDisconnectReason | php | agence104/livekit-server-sdk-php | src/proto/Livekit/ParticipantInfo.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ParticipantInfo.php | Apache-2.0 |
public function getCode()
{
return $this->code;
} | Generated from protobuf field <code>uint32 code = 1;</code>
@return int | getCode | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RpcError.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RpcError.php | Apache-2.0 |
public function setCode($var)
{
GPBUtil::checkUint32($var);
$this->code = $var;
return $this;
} | Generated from protobuf field <code>uint32 code = 1;</code>
@param int $var
@return $this | setCode | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RpcError.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RpcError.php | Apache-2.0 |
public function getData()
{
return $this->data;
} | Generated from protobuf field <code>string data = 3;</code>
@return string | getData | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RpcError.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RpcError.php | Apache-2.0 |
public function setData($var)
{
GPBUtil::checkString($var, True);
$this->data = $var;
return $this;
} | Generated from protobuf field <code>string data = 3;</code>
@param string $var
@return $this | setData | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RpcError.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RpcError.php | Apache-2.0 |
public function getSessionToken()
{
return $this->session_token;
} | Generated from protobuf field <code>string session_token = 11;</code>
@return string | getSessionToken | php | agence104/livekit-server-sdk-php | src/proto/Livekit/S3Upload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/S3Upload.php | Apache-2.0 |
public function setSessionToken($var)
{
GPBUtil::checkString($var, True);
$this->session_token = $var;
return $this;
} | Generated from protobuf field <code>string session_token = 11;</code>
@param string $var
@return $this | setSessionToken | php | agence104/livekit-server-sdk-php | src/proto/Livekit/S3Upload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/S3Upload.php | Apache-2.0 |
public function getForcePathStyle()
{
return $this->force_path_style;
} | Generated from protobuf field <code>bool force_path_style = 6;</code>
@return bool | getForcePathStyle | php | agence104/livekit-server-sdk-php | src/proto/Livekit/S3Upload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/S3Upload.php | Apache-2.0 |
public function setForcePathStyle($var)
{
GPBUtil::checkBool($var);
$this->force_path_style = $var;
return $this;
} | Generated from protobuf field <code>bool force_path_style = 6;</code>
@param bool $var
@return $this | setForcePathStyle | php | agence104/livekit-server-sdk-php | src/proto/Livekit/S3Upload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/S3Upload.php | Apache-2.0 |
public function setMetadata($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
$this->metadata = $arr;
return $this;
} | Generated from protobuf field <code>map<string, string> metadata = 7;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setMetadata | php | agence104/livekit-server-sdk-php | src/proto/Livekit/S3Upload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/S3Upload.php | Apache-2.0 |
public function getTagging()
{
return $this->tagging;
} | Generated from protobuf field <code>string tagging = 8;</code>
@return string | getTagging | php | agence104/livekit-server-sdk-php | src/proto/Livekit/S3Upload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/S3Upload.php | Apache-2.0 |
public function setTagging($var)
{
GPBUtil::checkString($var, True);
$this->tagging = $var;
return $this;
} | Generated from protobuf field <code>string tagging = 8;</code>
@param string $var
@return $this | setTagging | php | agence104/livekit-server-sdk-php | src/proto/Livekit/S3Upload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/S3Upload.php | Apache-2.0 |
public function getContentDisposition()
{
return $this->content_disposition;
} | Content-Disposition header
Generated from protobuf field <code>string content_disposition = 9;</code>
@return string | getContentDisposition | php | agence104/livekit-server-sdk-php | src/proto/Livekit/S3Upload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/S3Upload.php | Apache-2.0 |
public function setContentDisposition($var)
{
GPBUtil::checkString($var, True);
$this->content_disposition = $var;
return $this;
} | Content-Disposition header
Generated from protobuf field <code>string content_disposition = 9;</code>
@param string $var
@return $this | setContentDisposition | php | agence104/livekit-server-sdk-php | src/proto/Livekit/S3Upload.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/S3Upload.php | Apache-2.0 |
public function setData($var)
{
GPBUtil::checkString($var, False);
$this->data = $var;
return $this;
} | Generated from protobuf field <code>bytes data = 2;</code>
@param string $var
@return $this | setData | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SendDataRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SendDataRequest.php | Apache-2.0 |
public function setKind($var)
{
GPBUtil::checkEnum($var, \Livekit\DataPacket\Kind::class);
$this->kind = $var;
return $this;
} | Generated from protobuf field <code>.livekit.DataPacket.Kind kind = 3;</code>
@param int $var
@return $this | setKind | php | agence104/livekit-server-sdk-php | src/proto/Livekit/SendDataRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SendDataRequest.php | Apache-2.0 |
public function getSipDispatchRuleId()
{
return $this->sip_dispatch_rule_id;
} | Generated from protobuf field <code>string sip_dispatch_rule_id = 1;</code>
@return string | getSipDispatchRuleId | php | agence104/livekit-server-sdk-php | src/proto/Livekit/DeleteSIPDispatchRuleRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/DeleteSIPDispatchRuleRequest.php | Apache-2.0 |
public function setSipDispatchRuleId($var)
{
GPBUtil::checkString($var, True);
$this->sip_dispatch_rule_id = $var;
return $this;
} | Generated from protobuf field <code>string sip_dispatch_rule_id = 1;</code>
@param string $var
@return $this | setSipDispatchRuleId | php | agence104/livekit-server-sdk-php | src/proto/Livekit/DeleteSIPDispatchRuleRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/DeleteSIPDispatchRuleRequest.php | Apache-2.0 |
public function getAgentDispatches()
{
return $this->agent_dispatches;
} | Generated from protobuf field <code>repeated .livekit.AgentDispatch agent_dispatches = 1;</code>
@return \Google\Protobuf\Internal\RepeatedField | getAgentDispatches | php | agence104/livekit-server-sdk-php | src/proto/Livekit/ListAgentDispatchResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListAgentDispatchResponse.php | Apache-2.0 |
public function setAgentDispatches($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\AgentDispatch::class);
$this->agent_dispatches = $arr;
return $this;
} | Generated from protobuf field <code>repeated .livekit.AgentDispatch agent_dispatches = 1;</code>
@param \Livekit\AgentDispatch[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setAgentDispatches | php | agence104/livekit-server-sdk-php | src/proto/Livekit/ListAgentDispatchResponse.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListAgentDispatchResponse.php | Apache-2.0 |
public function setPreset($var)
{
GPBUtil::checkEnum($var, \Livekit\IngressVideoEncodingPreset::class);
$this->writeOneof(3, $var);
return $this;
} | Generated from protobuf field <code>.livekit.IngressVideoEncodingPreset preset = 3;</code>
@param int $var
@return $this | setPreset | php | agence104/livekit-server-sdk-php | src/proto/Livekit/IngressVideoOptions.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressVideoOptions.php | Apache-2.0 |
public function setOptions($var)
{
GPBUtil::checkMessage($var, \Livekit\IngressVideoEncodingOptions::class);
$this->writeOneof(4, $var);
return $this;
} | Generated from protobuf field <code>.livekit.IngressVideoEncodingOptions options = 4;</code>
@param \Livekit\IngressVideoEncodingOptions $var
@return $this | setOptions | php | agence104/livekit-server-sdk-php | src/proto/Livekit/IngressVideoOptions.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressVideoOptions.php | Apache-2.0 |
public function getExtLastSequenceNumber()
{
return $this->ext_last_sequence_number;
} | Generated from protobuf field <code>uint64 ext_last_sequence_number = 1;</code>
@return int|string | getExtLastSequenceNumber | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RTPMungerState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPMungerState.php | Apache-2.0 |
public function setExtLastSequenceNumber($var)
{
GPBUtil::checkUint64($var);
$this->ext_last_sequence_number = $var;
return $this;
} | Generated from protobuf field <code>uint64 ext_last_sequence_number = 1;</code>
@param int|string $var
@return $this | setExtLastSequenceNumber | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RTPMungerState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPMungerState.php | Apache-2.0 |
public function getExtSecondLastSequenceNumber()
{
return $this->ext_second_last_sequence_number;
} | Generated from protobuf field <code>uint64 ext_second_last_sequence_number = 2;</code>
@return int|string | getExtSecondLastSequenceNumber | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RTPMungerState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPMungerState.php | Apache-2.0 |
public function setExtSecondLastSequenceNumber($var)
{
GPBUtil::checkUint64($var);
$this->ext_second_last_sequence_number = $var;
return $this;
} | Generated from protobuf field <code>uint64 ext_second_last_sequence_number = 2;</code>
@param int|string $var
@return $this | setExtSecondLastSequenceNumber | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RTPMungerState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPMungerState.php | Apache-2.0 |
public function getExtLastTimestamp()
{
return $this->ext_last_timestamp;
} | Generated from protobuf field <code>uint64 ext_last_timestamp = 3;</code>
@return int|string | getExtLastTimestamp | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RTPMungerState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPMungerState.php | Apache-2.0 |
public function setExtLastTimestamp($var)
{
GPBUtil::checkUint64($var);
$this->ext_last_timestamp = $var;
return $this;
} | Generated from protobuf field <code>uint64 ext_last_timestamp = 3;</code>
@param int|string $var
@return $this | setExtLastTimestamp | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RTPMungerState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPMungerState.php | Apache-2.0 |
public function getExtSecondLastTimestamp()
{
return $this->ext_second_last_timestamp;
} | Generated from protobuf field <code>uint64 ext_second_last_timestamp = 4;</code>
@return int|string | getExtSecondLastTimestamp | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RTPMungerState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPMungerState.php | Apache-2.0 |
public function setExtSecondLastTimestamp($var)
{
GPBUtil::checkUint64($var);
$this->ext_second_last_timestamp = $var;
return $this;
} | Generated from protobuf field <code>uint64 ext_second_last_timestamp = 4;</code>
@param int|string $var
@return $this | setExtSecondLastTimestamp | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RTPMungerState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPMungerState.php | Apache-2.0 |
public function getLastMarker()
{
return $this->last_marker;
} | Generated from protobuf field <code>bool last_marker = 5;</code>
@return bool | getLastMarker | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RTPMungerState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPMungerState.php | Apache-2.0 |
public function setLastMarker($var)
{
GPBUtil::checkBool($var);
$this->last_marker = $var;
return $this;
} | Generated from protobuf field <code>bool last_marker = 5;</code>
@param bool $var
@return $this | setLastMarker | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RTPMungerState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPMungerState.php | Apache-2.0 |
public function getSecondLastMarker()
{
return $this->second_last_marker;
} | Generated from protobuf field <code>bool second_last_marker = 6;</code>
@return bool | getSecondLastMarker | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RTPMungerState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPMungerState.php | Apache-2.0 |
public function setSecondLastMarker($var)
{
GPBUtil::checkBool($var);
$this->second_last_marker = $var;
return $this;
} | Generated from protobuf field <code>bool second_last_marker = 6;</code>
@param bool $var
@return $this | setSecondLastMarker | php | agence104/livekit-server-sdk-php | src/proto/Livekit/RTPMungerState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/RTPMungerState.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.