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 getUpdatedAt()
{
return $this->updated_at;
} | Generated from protobuf field <code>int64 updated_at = 5;</code>
@return int|string | getUpdatedAt | php | agence104/livekit-server-sdk-php | src/proto/Livekit/JobState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/JobState.php | Apache-2.0 |
public function setUpdatedAt($var)
{
GPBUtil::checkInt64($var);
$this->updated_at = $var;
return $this;
} | Generated from protobuf field <code>int64 updated_at = 5;</code>
@param int|string $var
@return $this | setUpdatedAt | php | agence104/livekit-server-sdk-php | src/proto/Livekit/JobState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/JobState.php | Apache-2.0 |
public function getParticipantIdentity()
{
return $this->participant_identity;
} | Generated from protobuf field <code>string participant_identity = 6;</code>
@return string | getParticipantIdentity | php | agence104/livekit-server-sdk-php | src/proto/Livekit/JobState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/JobState.php | Apache-2.0 |
public function setParticipantIdentity($var)
{
GPBUtil::checkString($var, True);
$this->participant_identity = $var;
return $this;
} | Generated from protobuf field <code>string participant_identity = 6;</code>
@param string $var
@return $this | setParticipantIdentity | php | agence104/livekit-server-sdk-php | src/proto/Livekit/JobState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/JobState.php | Apache-2.0 |
public function getRoom()
{
return $this->room;
} | name of the room
Generated from protobuf field <code>string room = 1;</code>
@return string | getRoom | 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 setRoom($var)
{
GPBUtil::checkString($var, True);
$this->room = $var;
return $this;
} | name of the room
Generated from protobuf field <code>string room = 1;</code>
@param string $var
@return $this | setRoom | 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 getIdentity()
{
return $this->identity;
} | Generated from protobuf field <code>string identity = 2;</code>
@return string | getIdentity | 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 setIdentity($var)
{
GPBUtil::checkString($var, True);
$this->identity = $var;
return $this;
} | Generated from protobuf field <code>string identity = 2;</code>
@param string $var
@return $this | setIdentity | 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 getTrackSid()
{
return $this->track_sid;
} | sid of the track to mute
Generated from protobuf field <code>string track_sid = 3;</code>
@return string | getTrackSid | 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 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 getMuted()
{
return $this->muted;
} | set to true to mute, false to unmute
Generated from protobuf field <code>bool muted = 4;</code>
@return bool | getMuted | 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 setMuted($var)
{
GPBUtil::checkBool($var);
$this->muted = $var;
return $this;
} | set to true to mute, false to unmute
Generated from protobuf field <code>bool muted = 4;</code>
@param bool $var
@return $this | setMuted | 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 getRoom()
{
return $this->room;
} | Generated from protobuf field <code>string room = 1;</code>
@return string | getRoom | php | agence104/livekit-server-sdk-php | src/proto/Livekit/UpdateRoomMetadataRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateRoomMetadataRequest.php | Apache-2.0 |
public function setRoom($var)
{
GPBUtil::checkString($var, True);
$this->room = $var;
return $this;
} | Generated from protobuf field <code>string room = 1;</code>
@param string $var
@return $this | setRoom | php | agence104/livekit-server-sdk-php | src/proto/Livekit/UpdateRoomMetadataRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateRoomMetadataRequest.php | Apache-2.0 |
public function getMetadata()
{
return $this->metadata;
} | metadata to update. skipping updates if left empty
Generated from protobuf field <code>string metadata = 2;</code>
@return string | getMetadata | php | agence104/livekit-server-sdk-php | src/proto/Livekit/UpdateRoomMetadataRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateRoomMetadataRequest.php | Apache-2.0 |
public function setMetadata($var)
{
GPBUtil::checkString($var, True);
$this->metadata = $var;
return $this;
} | metadata to update. skipping updates if left empty
Generated from protobuf field <code>string metadata = 2;</code>
@param string $var
@return $this | setMetadata | php | agence104/livekit-server-sdk-php | src/proto/Livekit/UpdateRoomMetadataRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/UpdateRoomMetadataRequest.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/InputAudioState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/InputAudioState.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/InputAudioState.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/InputAudioState.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 getChannels()
{
return $this->channels;
} | Generated from protobuf field <code>uint32 channels = 3;</code>
@return int | getChannels | 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 setChannels($var)
{
GPBUtil::checkUint32($var);
$this->channels = $var;
return $this;
} | Generated from protobuf field <code>uint32 channels = 3;</code>
@param int $var
@return $this | setChannels | 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 getPage()
{
return $this->page;
} | Generated from protobuf field <code>.livekit.Pagination page = 1;</code>
@return \Livekit\Pagination|null | getPage | php | agence104/livekit-server-sdk-php | src/proto/Livekit/ListSIPTrunkRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListSIPTrunkRequest.php | Apache-2.0 |
public function setPage($var)
{
GPBUtil::checkMessage($var, \Livekit\Pagination::class);
$this->page = $var;
return $this;
} | Generated from protobuf field <code>.livekit.Pagination page = 1;</code>
@param \Livekit\Pagination $var
@return $this | setPage | php | agence104/livekit-server-sdk-php | src/proto/Livekit/ListSIPTrunkRequest.php | https://github.com/agence104/livekit-server-sdk-php/blob/master/src/proto/Livekit/ListSIPTrunkRequest.php | Apache-2.0 |
public function getSid()
{
return $this->sid;
} | Generated from protobuf field <code>string sid = 1;</code>
@return string | getSid | 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 setSid($var)
{
GPBUtil::checkString($var, True);
$this->sid = $var;
return $this;
} | Generated from protobuf field <code>string sid = 1;</code>
@param string $var
@return $this | setSid | 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 getIdentity()
{
return $this->identity;
} | Generated from protobuf field <code>string identity = 2;</code>
@return string | getIdentity | 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 setIdentity($var)
{
GPBUtil::checkString($var, True);
$this->identity = $var;
return $this;
} | Generated from protobuf field <code>string identity = 2;</code>
@param string $var
@return $this | setIdentity | 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 getState()
{
return $this->state;
} | Generated from protobuf field <code>.livekit.ParticipantInfo.State state = 3;</code>
@return int | getState | 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 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 getTracks()
{
return $this->tracks;
} | Generated from protobuf field <code>repeated .livekit.TrackInfo tracks = 4;</code>
@return \Google\Protobuf\Internal\RepeatedField | getTracks | 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 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 = 4;</code>
@param \Livekit\TrackInfo[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setTracks | 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 getMetadata()
{
return $this->metadata;
} | Generated from protobuf field <code>string metadata = 5;</code>
@return string | getMetadata | 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 setMetadata($var)
{
GPBUtil::checkString($var, True);
$this->metadata = $var;
return $this;
} | Generated from protobuf field <code>string metadata = 5;</code>
@param string $var
@return $this | setMetadata | 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 getName()
{
return $this->name;
} | Generated from protobuf field <code>string name = 9;</code>
@return string | getName | 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 setName($var)
{
GPBUtil::checkString($var, True);
$this->name = $var;
return $this;
} | Generated from protobuf field <code>string name = 9;</code>
@param string $var
@return $this | setName | 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 getVersion()
{
return $this->version;
} | Generated from protobuf field <code>uint32 version = 10;</code>
@return int | getVersion | 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 setVersion($var)
{
GPBUtil::checkUint32($var);
$this->version = $var;
return $this;
} | Generated from protobuf field <code>uint32 version = 10;</code>
@param int $var
@return $this | setVersion | 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 getPermission()
{
return $this->permission;
} | Generated from protobuf field <code>.livekit.ParticipantPermission permission = 11;</code>
@return \Livekit\ParticipantPermission|null | getPermission | 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 setPermission($var)
{
GPBUtil::checkMessage($var, \Livekit\ParticipantPermission::class);
$this->permission = $var;
return $this;
} | Generated from protobuf field <code>.livekit.ParticipantPermission permission = 11;</code>
@param \Livekit\ParticipantPermission $var
@return $this | setPermission | 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 getRegion()
{
return $this->region;
} | Generated from protobuf field <code>string region = 12;</code>
@return string | getRegion | 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 setRegion($var)
{
GPBUtil::checkString($var, True);
$this->region = $var;
return $this;
} | Generated from protobuf field <code>string region = 12;</code>
@param string $var
@return $this | setRegion | 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 getKind()
{
return $this->kind;
} | Generated from protobuf field <code>.livekit.ParticipantInfo.Kind kind = 14;</code>
@return int | getKind | 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 getAttributes()
{
return $this->attributes;
} | Generated from protobuf field <code>map<string, string> attributes = 15;</code>
@return \Google\Protobuf\Internal\MapField | getAttributes | 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 setAttributes($var)
{
$arr = GPBUtil::checkMapField($var, \Google\Protobuf\Internal\GPBType::STRING, \Google\Protobuf\Internal\GPBType::STRING);
$this->attributes = $arr;
return $this;
} | Generated from protobuf field <code>map<string, string> attributes = 15;</code>
@param array|\Google\Protobuf\Internal\MapField $var
@return $this | setAttributes | 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 getMessage()
{
return $this->message;
} | Generated from protobuf field <code>string message = 2;</code>
@return string | getMessage | 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 setMessage($var)
{
GPBUtil::checkString($var, True);
$this->message = $var;
return $this;
} | Generated from protobuf field <code>string message = 2;</code>
@param string $var
@return $this | setMessage | 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 getAccessKey()
{
return $this->access_key;
} | Generated from protobuf field <code>string access_key = 1;</code>
@return string | getAccessKey | 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 setAccessKey($var)
{
GPBUtil::checkString($var, True);
$this->access_key = $var;
return $this;
} | Generated from protobuf field <code>string access_key = 1;</code>
@param string $var
@return $this | setAccessKey | 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 getSecret()
{
return $this->secret;
} | Generated from protobuf field <code>string secret = 2;</code>
@return string | getSecret | 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 setSecret($var)
{
GPBUtil::checkString($var, True);
$this->secret = $var;
return $this;
} | Generated from protobuf field <code>string secret = 2;</code>
@param string $var
@return $this | setSecret | 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 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 getRegion()
{
return $this->region;
} | Generated from protobuf field <code>string region = 3;</code>
@return string | getRegion | 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 setRegion($var)
{
GPBUtil::checkString($var, True);
$this->region = $var;
return $this;
} | Generated from protobuf field <code>string region = 3;</code>
@param string $var
@return $this | setRegion | 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 getEndpoint()
{
return $this->endpoint;
} | Generated from protobuf field <code>string endpoint = 4;</code>
@return string | getEndpoint | 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 setEndpoint($var)
{
GPBUtil::checkString($var, True);
$this->endpoint = $var;
return $this;
} | Generated from protobuf field <code>string endpoint = 4;</code>
@param string $var
@return $this | setEndpoint | 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 getBucket()
{
return $this->bucket;
} | Generated from protobuf field <code>string bucket = 5;</code>
@return string | getBucket | 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 setBucket($var)
{
GPBUtil::checkString($var, True);
$this->bucket = $var;
return $this;
} | Generated from protobuf field <code>string bucket = 5;</code>
@param string $var
@return $this | setBucket | 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 getMetadata()
{
return $this->metadata;
} | Generated from protobuf field <code>map<string, string> metadata = 7;</code>
@return \Google\Protobuf\Internal\MapField | getMetadata | 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 getProxy()
{
return $this->proxy;
} | Generated from protobuf field <code>.livekit.ProxyConfig proxy = 10;</code>
@return \Livekit\ProxyConfig|null | getProxy | 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 setProxy($var)
{
GPBUtil::checkMessage($var, \Livekit\ProxyConfig::class);
$this->proxy = $var;
return $this;
} | Generated from protobuf field <code>.livekit.ProxyConfig proxy = 10;</code>
@param \Livekit\ProxyConfig $var
@return $this | setProxy | 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 getRoom()
{
return $this->room;
} | Generated from protobuf field <code>string room = 1;</code>
@return string | getRoom | 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 setRoom($var)
{
GPBUtil::checkString($var, True);
$this->room = $var;
return $this;
} | Generated from protobuf field <code>string room = 1;</code>
@param string $var
@return $this | setRoom | 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 getData()
{
return $this->data;
} | Generated from protobuf field <code>bytes data = 2;</code>
@return string | getData | 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 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 getKind()
{
return $this->kind;
} | Generated from protobuf field <code>.livekit.DataPacket.Kind kind = 3;</code>
@return int | getKind | 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 getDestinationSids()
{
@trigger_error('destination_sids is deprecated.', E_USER_DEPRECATED);
return $this->destination_sids;
} | mark deprecated
Generated from protobuf field <code>repeated string destination_sids = 4 [deprecated = true];</code>
@return \Google\Protobuf\Internal\RepeatedField
@deprecated | getDestinationSids | 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 setDestinationSids($var)
{
@trigger_error('destination_sids is deprecated.', E_USER_DEPRECATED);
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->destination_sids = $arr;
return $this;
} | mark deprecated
Generated from protobuf field <code>repeated string destination_sids = 4 [deprecated = true];</code>
@param string[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this
@deprecated | setDestinationSids | 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 getDestinationIdentities()
{
return $this->destination_identities;
} | when set, only forward to these identities
Generated from protobuf field <code>repeated string destination_identities = 6;</code>
@return \Google\Protobuf\Internal\RepeatedField | getDestinationIdentities | 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 setDestinationIdentities($var)
{
$arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING);
$this->destination_identities = $arr;
return $this;
} | when set, only forward to these identities
Generated from protobuf field <code>repeated string destination_identities = 6;</code>
@param string[]|\Google\Protobuf\Internal\RepeatedField $var
@return $this | setDestinationIdentities | 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 getTopic()
{
return isset($this->topic) ? $this->topic : '';
} | Generated from protobuf field <code>optional string topic = 5;</code>
@return string | getTopic | 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 setTopic($var)
{
GPBUtil::checkString($var, True);
$this->topic = $var;
return $this;
} | Generated from protobuf field <code>optional string topic = 5;</code>
@param string $var
@return $this | setTopic | 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 getNonce()
{
return $this->nonce;
} | added by SDK to enable de-duping of messages, for INTERNAL USE ONLY
Generated from protobuf field <code>bytes nonce = 7;</code>
@return string | getNonce | 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 setNonce($var)
{
GPBUtil::checkString($var, False);
$this->nonce = $var;
return $this;
} | added by SDK to enable de-duping of messages, for INTERNAL USE ONLY
Generated from protobuf field <code>bytes nonce = 7;</code>
@param string $var
@return $this | setNonce | 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 |
Subsets and Splits
No saved queries yet
Save your SQL queries to embed, download, and access them later. Queries will appear here once saved.