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 getState() { return $this->state; }
Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth) Generated from protobuf field <code>.livekit.IngressState state = 12;</code> @return \Livekit\IngressState|null
getState
php
agence104/livekit-server-sdk-php
src/proto/Livekit/IngressInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressInfo.php
Apache-2.0
public function setState($var) { GPBUtil::checkMessage($var, \Livekit\IngressState::class); $this->state = $var; return $this; }
Description of error/stream non compliance and debug info for publisher otherwise (received bitrate, resolution, bandwidth) Generated from protobuf field <code>.livekit.IngressState state = 12;</code> @param \Livekit\IngressState $var @return $this
setState
php
agence104/livekit-server-sdk-php
src/proto/Livekit/IngressInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressInfo.php
Apache-2.0
public function getEnabled() { return isset($this->enabled) ? $this->enabled : false; }
The default value is true and when set to false, the new connection attempts will be rejected Generated from protobuf field <code>optional bool enabled = 16;</code> @return bool
getEnabled
php
agence104/livekit-server-sdk-php
src/proto/Livekit/IngressInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressInfo.php
Apache-2.0
public function setEnabled($var) { GPBUtil::checkBool($var); $this->enabled = $var; return $this; }
The default value is true and when set to false, the new connection attempts will be rejected Generated from protobuf field <code>optional bool enabled = 16;</code> @param bool $var @return $this
setEnabled
php
agence104/livekit-server-sdk-php
src/proto/Livekit/IngressInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/IngressInfo.php
Apache-2.0
public function getTimestampMs() { return $this->timestamp_ms; }
time of metric based on a monotonic clock (in milliseconds) Generated from protobuf field <code>int64 timestamp_ms = 1;</code> @return int|string
getTimestampMs
php
agence104/livekit-server-sdk-php
src/proto/Livekit/MetricSample.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/MetricSample.php
Apache-2.0
public function setTimestampMs($var) { GPBUtil::checkInt64($var); $this->timestamp_ms = $var; return $this; }
time of metric based on a monotonic clock (in milliseconds) 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/MetricSample.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/MetricSample.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/MetricSample.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/MetricSample.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/MetricSample.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/MetricSample.php
Apache-2.0
public function getValue() { return $this->value; }
Generated from protobuf field <code>float value = 3;</code> @return float
getValue
php
agence104/livekit-server-sdk-php
src/proto/Livekit/MetricSample.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/MetricSample.php
Apache-2.0
public function setValue($var) { GPBUtil::checkFloat($var); $this->value = $var; return $this; }
Generated from protobuf field <code>float value = 3;</code> @param float $var @return $this
setValue
php
agence104/livekit-server-sdk-php
src/proto/Livekit/MetricSample.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/MetricSample.php
Apache-2.0
public function getTrunk() { return $this->trunk; }
Trunk ID is ignored Generated from protobuf field <code>.livekit.SIPOutboundTrunkInfo trunk = 1;</code> @return \Livekit\SIPOutboundTrunkInfo|null
getTrunk
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPOutboundTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPOutboundTrunkRequest.php
Apache-2.0
public function setTrunk($var) { GPBUtil::checkMessage($var, \Livekit\SIPOutboundTrunkInfo::class); $this->trunk = $var; return $this; }
Trunk ID is ignored Generated from protobuf field <code>.livekit.SIPOutboundTrunkInfo trunk = 1;</code> @param \Livekit\SIPOutboundTrunkInfo $var @return $this
setTrunk
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateSIPOutboundTrunkRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateSIPOutboundTrunkRequest.php
Apache-2.0
public function getJob() { return $this->job; }
Generated from protobuf field <code>.livekit.Job job = 1;</code> @return \Livekit\Job|null
getJob
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AvailabilityRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AvailabilityRequest.php
Apache-2.0
public function setJob($var) { GPBUtil::checkMessage($var, \Livekit\Job::class); $this->job = $var; return $this; }
Generated from protobuf field <code>.livekit.Job job = 1;</code> @param \Livekit\Job $var @return $this
setJob
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AvailabilityRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AvailabilityRequest.php
Apache-2.0
public function getResuming() { return $this->resuming; }
True when the job was previously assigned to another worker but has been migrated due to different reasons (e.g. worker failure, job migration) Generated from protobuf field <code>bool resuming = 2;</code> @return bool
getResuming
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AvailabilityRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AvailabilityRequest.php
Apache-2.0
public function setResuming($var) { GPBUtil::checkBool($var); $this->resuming = $var; return $this; }
True when the job was previously assigned to another worker but has been migrated due to different reasons (e.g. worker failure, job migration) Generated from protobuf field <code>bool resuming = 2;</code> @param bool $var @return $this
setResuming
php
agence104/livekit-server-sdk-php
src/proto/Livekit/AvailabilityRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/AvailabilityRequest.php
Apache-2.0
public function getName() { return $this->name; }
name of the room Generated from protobuf field <code>string name = 1;</code> @return string
getName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function setName($var) { GPBUtil::checkString($var, True); $this->name = $var; return $this; }
name of the room Generated from protobuf field <code>string name = 1;</code> @param string $var @return $this
setName
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function getRoomPreset() { return $this->room_preset; }
configuration to use for this room parameters. Setting parameters below override the config defaults. Generated from protobuf field <code>string room_preset = 12;</code> @return string
getRoomPreset
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function setRoomPreset($var) { GPBUtil::checkString($var, True); $this->room_preset = $var; return $this; }
configuration to use for this room parameters. Setting parameters below override the config defaults. Generated from protobuf field <code>string room_preset = 12;</code> @param string $var @return $this
setRoomPreset
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function getEmptyTimeout() { return $this->empty_timeout; }
number of seconds to keep the room open if no one joins Generated from protobuf field <code>uint32 empty_timeout = 2;</code> @return int
getEmptyTimeout
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function setEmptyTimeout($var) { GPBUtil::checkUint32($var); $this->empty_timeout = $var; return $this; }
number of seconds to keep the room open if no one joins Generated from protobuf field <code>uint32 empty_timeout = 2;</code> @param int $var @return $this
setEmptyTimeout
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function getDepartureTimeout() { return $this->departure_timeout; }
number of seconds to keep the room open after everyone leaves Generated from protobuf field <code>uint32 departure_timeout = 10;</code> @return int
getDepartureTimeout
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function setDepartureTimeout($var) { GPBUtil::checkUint32($var); $this->departure_timeout = $var; return $this; }
number of seconds to keep the room open after everyone leaves Generated from protobuf field <code>uint32 departure_timeout = 10;</code> @param int $var @return $this
setDepartureTimeout
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function getMaxParticipants() { return $this->max_participants; }
limit number of participants that can be in a room Generated from protobuf field <code>uint32 max_participants = 3;</code> @return int
getMaxParticipants
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function setMaxParticipants($var) { GPBUtil::checkUint32($var); $this->max_participants = $var; return $this; }
limit number of participants that can be in a room Generated from protobuf field <code>uint32 max_participants = 3;</code> @param int $var @return $this
setMaxParticipants
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function getNodeId() { return $this->node_id; }
override the node room is allocated to, for debugging Generated from protobuf field <code>string node_id = 4;</code> @return string
getNodeId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function setNodeId($var) { GPBUtil::checkString($var, True); $this->node_id = $var; return $this; }
override the node room is allocated to, for debugging Generated from protobuf field <code>string node_id = 4;</code> @param string $var @return $this
setNodeId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function getMetadata() { return $this->metadata; }
metadata of room Generated from protobuf field <code>string metadata = 5;</code> @return string
getMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function setMetadata($var) { GPBUtil::checkString($var, True); $this->metadata = $var; return $this; }
metadata of room Generated from protobuf field <code>string metadata = 5;</code> @param string $var @return $this
setMetadata
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function getEgress() { return $this->egress; }
auto-egress configurations Generated from protobuf field <code>.livekit.RoomEgress egress = 6;</code> @return \Livekit\RoomEgress|null
getEgress
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function setEgress($var) { GPBUtil::checkMessage($var, \Livekit\RoomEgress::class); $this->egress = $var; return $this; }
auto-egress configurations Generated from protobuf field <code>.livekit.RoomEgress egress = 6;</code> @param \Livekit\RoomEgress $var @return $this
setEgress
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function getMinPlayoutDelay() { return $this->min_playout_delay; }
playout delay of subscriber Generated from protobuf field <code>uint32 min_playout_delay = 7;</code> @return int
getMinPlayoutDelay
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function setMinPlayoutDelay($var) { GPBUtil::checkUint32($var); $this->min_playout_delay = $var; return $this; }
playout delay of subscriber Generated from protobuf field <code>uint32 min_playout_delay = 7;</code> @param int $var @return $this
setMinPlayoutDelay
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function getMaxPlayoutDelay() { return $this->max_playout_delay; }
Generated from protobuf field <code>uint32 max_playout_delay = 8;</code> @return int
getMaxPlayoutDelay
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function setMaxPlayoutDelay($var) { GPBUtil::checkUint32($var); $this->max_playout_delay = $var; return $this; }
Generated from protobuf field <code>uint32 max_playout_delay = 8;</code> @param int $var @return $this
setMaxPlayoutDelay
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function getSyncStreams() { return $this->sync_streams; }
improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use so not recommended for rooms with frequent subscription changes Generated from protobuf field <code>bool sync_streams = 9;</code> @return bool
getSyncStreams
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function setSyncStreams($var) { GPBUtil::checkBool($var); $this->sync_streams = $var; return $this; }
improves A/V sync when playout_delay set to a value larger than 200ms. It will disables transceiver re-use so not recommended for rooms with frequent subscription changes Generated from protobuf field <code>bool sync_streams = 9;</code> @param bool $var @return $this
setSyncStreams
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function getReplayEnabled() { return $this->replay_enabled; }
replay Generated from protobuf field <code>bool replay_enabled = 13;</code> @return bool
getReplayEnabled
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function setReplayEnabled($var) { GPBUtil::checkBool($var); $this->replay_enabled = $var; return $this; }
replay Generated from protobuf field <code>bool replay_enabled = 13;</code> @param bool $var @return $this
setReplayEnabled
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function getAgents() { return $this->agents; }
Define agents that should be dispatched to this room Generated from protobuf field <code>repeated .livekit.RoomAgentDispatch agents = 14;</code> @return \Google\Protobuf\Internal\RepeatedField
getAgents
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function setAgents($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Livekit\RoomAgentDispatch::class); $this->agents = $arr; return $this; }
Define agents that should be dispatched to this room Generated from protobuf field <code>repeated .livekit.RoomAgentDispatch agents = 14;</code> @param \Livekit\RoomAgentDispatch[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setAgents
php
agence104/livekit-server-sdk-php
src/proto/Livekit/CreateRoomRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/CreateRoomRequest.php
Apache-2.0
public function getQuality() { return $this->quality; }
for tracks with a single layer, this should be HIGH Generated from protobuf field <code>.livekit.VideoQuality quality = 1;</code> @return int
getQuality
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VideoLayer.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VideoLayer.php
Apache-2.0
public function setQuality($var) { GPBUtil::checkEnum($var, \Livekit\VideoQuality::class); $this->quality = $var; return $this; }
for tracks with a single layer, this should be HIGH Generated from protobuf field <code>.livekit.VideoQuality quality = 1;</code> @param int $var @return $this
setQuality
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VideoLayer.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VideoLayer.php
Apache-2.0
public function getWidth() { return $this->width; }
Generated from protobuf field <code>uint32 width = 2;</code> @return int
getWidth
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VideoLayer.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VideoLayer.php
Apache-2.0
public function setWidth($var) { GPBUtil::checkUint32($var); $this->width = $var; return $this; }
Generated from protobuf field <code>uint32 width = 2;</code> @param int $var @return $this
setWidth
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VideoLayer.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VideoLayer.php
Apache-2.0
public function getHeight() { return $this->height; }
Generated from protobuf field <code>uint32 height = 3;</code> @return int
getHeight
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VideoLayer.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VideoLayer.php
Apache-2.0
public function setHeight($var) { GPBUtil::checkUint32($var); $this->height = $var; return $this; }
Generated from protobuf field <code>uint32 height = 3;</code> @param int $var @return $this
setHeight
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VideoLayer.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VideoLayer.php
Apache-2.0
public function getBitrate() { return $this->bitrate; }
target bitrate in bit per second (bps), server will measure actual Generated from protobuf field <code>uint32 bitrate = 4;</code> @return int
getBitrate
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VideoLayer.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VideoLayer.php
Apache-2.0
public function setBitrate($var) { GPBUtil::checkUint32($var); $this->bitrate = $var; return $this; }
target bitrate in bit per second (bps), server will measure actual Generated from protobuf field <code>uint32 bitrate = 4;</code> @param int $var @return $this
setBitrate
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VideoLayer.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VideoLayer.php
Apache-2.0
public function getSsrc() { return $this->ssrc; }
Generated from protobuf field <code>uint32 ssrc = 5;</code> @return int
getSsrc
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VideoLayer.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VideoLayer.php
Apache-2.0
public function setSsrc($var) { GPBUtil::checkUint32($var); $this->ssrc = $var; return $this; }
Generated from protobuf field <code>uint32 ssrc = 5;</code> @param int $var @return $this
setSsrc
php
agence104/livekit-server-sdk-php
src/proto/Livekit/VideoLayer.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/VideoLayer.php
Apache-2.0
public function getEgressId() { return $this->egress_id; }
Generated from protobuf field <code>string egress_id = 1;</code> @return string
getEgressId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateStreamRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateStreamRequest.php
Apache-2.0
public function setEgressId($var) { GPBUtil::checkString($var, True); $this->egress_id = $var; return $this; }
Generated from protobuf field <code>string egress_id = 1;</code> @param string $var @return $this
setEgressId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateStreamRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateStreamRequest.php
Apache-2.0
public function getAddOutputUrls() { return $this->add_output_urls; }
Generated from protobuf field <code>repeated string add_output_urls = 2;</code> @return \Google\Protobuf\Internal\RepeatedField
getAddOutputUrls
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateStreamRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateStreamRequest.php
Apache-2.0
public function setAddOutputUrls($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->add_output_urls = $arr; return $this; }
Generated from protobuf field <code>repeated string add_output_urls = 2;</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setAddOutputUrls
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateStreamRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateStreamRequest.php
Apache-2.0
public function getRemoveOutputUrls() { return $this->remove_output_urls; }
Generated from protobuf field <code>repeated string remove_output_urls = 3;</code> @return \Google\Protobuf\Internal\RepeatedField
getRemoveOutputUrls
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateStreamRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateStreamRequest.php
Apache-2.0
public function setRemoveOutputUrls($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->remove_output_urls = $arr; return $this; }
Generated from protobuf field <code>repeated string remove_output_urls = 3;</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setRemoveOutputUrls
php
agence104/livekit-server-sdk-php
src/proto/Livekit/UpdateStreamRequest.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateStreamRequest.php
Apache-2.0
public function getWidth() { return $this->width; }
(default 1920) Generated from protobuf field <code>int32 width = 1;</code> @return int
getWidth
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function setWidth($var) { GPBUtil::checkInt32($var); $this->width = $var; return $this; }
(default 1920) Generated from protobuf field <code>int32 width = 1;</code> @param int $var @return $this
setWidth
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function getHeight() { return $this->height; }
(default 1080) Generated from protobuf field <code>int32 height = 2;</code> @return int
getHeight
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function setHeight($var) { GPBUtil::checkInt32($var); $this->height = $var; return $this; }
(default 1080) Generated from protobuf field <code>int32 height = 2;</code> @param int $var @return $this
setHeight
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function getDepth() { return $this->depth; }
(default 24) Generated from protobuf field <code>int32 depth = 3;</code> @return int
getDepth
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function setDepth($var) { GPBUtil::checkInt32($var); $this->depth = $var; return $this; }
(default 24) Generated from protobuf field <code>int32 depth = 3;</code> @param int $var @return $this
setDepth
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function getFramerate() { return $this->framerate; }
(default 30) Generated from protobuf field <code>int32 framerate = 4;</code> @return int
getFramerate
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function setFramerate($var) { GPBUtil::checkInt32($var); $this->framerate = $var; return $this; }
(default 30) Generated from protobuf field <code>int32 framerate = 4;</code> @param int $var @return $this
setFramerate
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function getAudioCodec() { return $this->audio_codec; }
(default OPUS) Generated from protobuf field <code>.livekit.AudioCodec audio_codec = 5;</code> @return int
getAudioCodec
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function setAudioCodec($var) { GPBUtil::checkEnum($var, \Livekit\AudioCodec::class); $this->audio_codec = $var; return $this; }
(default OPUS) Generated from protobuf field <code>.livekit.AudioCodec audio_codec = 5;</code> @param int $var @return $this
setAudioCodec
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function getAudioBitrate() { return $this->audio_bitrate; }
(default 128) Generated from protobuf field <code>int32 audio_bitrate = 6;</code> @return int
getAudioBitrate
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function setAudioBitrate($var) { GPBUtil::checkInt32($var); $this->audio_bitrate = $var; return $this; }
(default 128) Generated from protobuf field <code>int32 audio_bitrate = 6;</code> @param int $var @return $this
setAudioBitrate
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function getAudioQuality() { return $this->audio_quality; }
quality setting on audio encoder Generated from protobuf field <code>int32 audio_quality = 11;</code> @return int
getAudioQuality
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function setAudioQuality($var) { GPBUtil::checkInt32($var); $this->audio_quality = $var; return $this; }
quality setting on audio encoder Generated from protobuf field <code>int32 audio_quality = 11;</code> @param int $var @return $this
setAudioQuality
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function getAudioFrequency() { return $this->audio_frequency; }
(default 44100) Generated from protobuf field <code>int32 audio_frequency = 7;</code> @return int
getAudioFrequency
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function setAudioFrequency($var) { GPBUtil::checkInt32($var); $this->audio_frequency = $var; return $this; }
(default 44100) Generated from protobuf field <code>int32 audio_frequency = 7;</code> @param int $var @return $this
setAudioFrequency
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function getVideoCodec() { return $this->video_codec; }
(default H264_MAIN) Generated from protobuf field <code>.livekit.VideoCodec video_codec = 8;</code> @return int
getVideoCodec
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function setVideoCodec($var) { GPBUtil::checkEnum($var, \Livekit\VideoCodec::class); $this->video_codec = $var; return $this; }
(default H264_MAIN) Generated from protobuf field <code>.livekit.VideoCodec video_codec = 8;</code> @param int $var @return $this
setVideoCodec
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function getVideoBitrate() { return $this->video_bitrate; }
(default 4500) Generated from protobuf field <code>int32 video_bitrate = 9;</code> @return int
getVideoBitrate
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function setVideoBitrate($var) { GPBUtil::checkInt32($var); $this->video_bitrate = $var; return $this; }
(default 4500) Generated from protobuf field <code>int32 video_bitrate = 9;</code> @param int $var @return $this
setVideoBitrate
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function getVideoQuality() { return $this->video_quality; }
quality setting on video encoder Generated from protobuf field <code>int32 video_quality = 12;</code> @return int
getVideoQuality
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function setVideoQuality($var) { GPBUtil::checkInt32($var); $this->video_quality = $var; return $this; }
quality setting on video encoder Generated from protobuf field <code>int32 video_quality = 12;</code> @param int $var @return $this
setVideoQuality
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function getKeyFrameInterval() { return $this->key_frame_interval; }
in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) Generated from protobuf field <code>double key_frame_interval = 10;</code> @return float
getKeyFrameInterval
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function setKeyFrameInterval($var) { GPBUtil::checkDouble($var); $this->key_frame_interval = $var; return $this; }
in seconds (default 4s for streaming, segment duration for segmented output, encoder default for files) Generated from protobuf field <code>double key_frame_interval = 10;</code> @param float $var @return $this
setKeyFrameInterval
php
agence104/livekit-server-sdk-php
src/proto/Livekit/EncodingOptions.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/EncodingOptions.php
Apache-2.0
public function getSipTrunkId() { return $this->sip_trunk_id; }
Generated from protobuf field <code>string sip_trunk_id = 1;</code> @return string
getSipTrunkId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function setSipTrunkId($var) { GPBUtil::checkString($var, True); $this->sip_trunk_id = $var; return $this; }
Generated from protobuf field <code>string sip_trunk_id = 1;</code> @param string $var @return $this
setSipTrunkId
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function getKind() { return $this->kind; }
Generated from protobuf field <code>.livekit.SIPTrunkInfo.TrunkKind kind = 14;</code> @return int
getKind
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function setKind($var) { GPBUtil::checkEnum($var, \Livekit\SIPTrunkInfo\TrunkKind::class); $this->kind = $var; return $this; }
Generated from protobuf field <code>.livekit.SIPTrunkInfo.TrunkKind kind = 14;</code> @param int $var @return $this
setKind
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function getInboundAddresses() { return $this->inbound_addresses; }
CIDR or IPs that traffic is accepted from An empty list means all inbound traffic is accepted. Generated from protobuf field <code>repeated string inbound_addresses = 2;</code> @return \Google\Protobuf\Internal\RepeatedField
getInboundAddresses
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function setInboundAddresses($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->inbound_addresses = $arr; return $this; }
CIDR or IPs that traffic is accepted from An empty list means all inbound traffic is accepted. Generated from protobuf field <code>repeated string inbound_addresses = 2;</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setInboundAddresses
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function getOutboundAddress() { return $this->outbound_address; }
IP that SIP INVITE is sent too Generated from protobuf field <code>string outbound_address = 3;</code> @return string
getOutboundAddress
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function setOutboundAddress($var) { GPBUtil::checkString($var, True); $this->outbound_address = $var; return $this; }
IP that SIP INVITE is sent too Generated from protobuf field <code>string outbound_address = 3;</code> @param string $var @return $this
setOutboundAddress
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function getOutboundNumber() { return $this->outbound_number; }
Number used to make outbound calls Generated from protobuf field <code>string outbound_number = 4;</code> @return string
getOutboundNumber
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function setOutboundNumber($var) { GPBUtil::checkString($var, True); $this->outbound_number = $var; return $this; }
Number used to make outbound calls Generated from protobuf field <code>string outbound_number = 4;</code> @param string $var @return $this
setOutboundNumber
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function getTransport() { return $this->transport; }
Transport used for inbound and outbound calls. Generated from protobuf field <code>.livekit.SIPTransport transport = 13;</code> @return int
getTransport
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function setTransport($var) { GPBUtil::checkEnum($var, \Livekit\SIPTransport::class); $this->transport = $var; return $this; }
Transport used for inbound and outbound calls. Generated from protobuf field <code>.livekit.SIPTransport transport = 13;</code> @param int $var @return $this
setTransport
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function getInboundNumbersRegex() { @trigger_error('inbound_numbers_regex is deprecated.', E_USER_DEPRECATED); return $this->inbound_numbers_regex; }
Generated from protobuf field <code>repeated string inbound_numbers_regex = 5 [deprecated = true];</code> @return \Google\Protobuf\Internal\RepeatedField @deprecated
getInboundNumbersRegex
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function setInboundNumbersRegex($var) { @trigger_error('inbound_numbers_regex is deprecated.', E_USER_DEPRECATED); $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->inbound_numbers_regex = $arr; return $this; }
Generated from protobuf field <code>repeated string inbound_numbers_regex = 5 [deprecated = true];</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this @deprecated
setInboundNumbersRegex
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function getInboundNumbers() { return $this->inbound_numbers; }
Accepted `To` values. This Trunk will only accept a call made to these numbers. This allows you to have distinct Trunks for different phone numbers at the same provider. Generated from protobuf field <code>repeated string inbound_numbers = 10;</code> @return \Google\Protobuf\Internal\RepeatedField
getInboundNumbers
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function setInboundNumbers($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->inbound_numbers = $arr; return $this; }
Accepted `To` values. This Trunk will only accept a call made to these numbers. This allows you to have distinct Trunks for different phone numbers at the same provider. Generated from protobuf field <code>repeated string inbound_numbers = 10;</code> @param string[]|\Google\Protobuf\Internal\RepeatedField $var @return $this
setInboundNumbers
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function getInboundUsername() { return $this->inbound_username; }
Username and password used to authenticate inbound and outbound SIP invites May be empty to have no Authentication Generated from protobuf field <code>string inbound_username = 6;</code> @return string
getInboundUsername
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0
public function setInboundUsername($var) { GPBUtil::checkString($var, True); $this->inbound_username = $var; return $this; }
Username and password used to authenticate inbound and outbound SIP invites May be empty to have no Authentication Generated from protobuf field <code>string inbound_username = 6;</code> @param string $var @return $this
setInboundUsername
php
agence104/livekit-server-sdk-php
src/proto/Livekit/SIPTrunkInfo.php
https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/SIPTrunkInfo.php
Apache-2.0