StreamStateInfo
extends Message
in package
Generated from protobuf message <code>livekit.StreamStateInfo</code>
Table of Contents
Properties
- $participant_sid : mixed
- Generated from protobuf field <code>string participant_sid = 1;</code>
- $state : mixed
- Generated from protobuf field <code>.livekit.StreamState state = 3;</code>
- $track_sid : mixed
- Generated from protobuf field <code>string track_sid = 2;</code>
Methods
- __construct() : mixed
- Constructor.
- getParticipantSid() : string
- Generated from protobuf field <code>string participant_sid = 1;</code>
- getState() : int
- Generated from protobuf field <code>.livekit.StreamState state = 3;</code>
- getTrackSid() : string
- Generated from protobuf field <code>string track_sid = 2;</code>
- setParticipantSid() : $this
- Generated from protobuf field <code>string participant_sid = 1;</code>
- setState() : $this
- Generated from protobuf field <code>.livekit.StreamState state = 3;</code>
- setTrackSid() : $this
- Generated from protobuf field <code>string track_sid = 2;</code>
Properties
$participant_sid
Generated from protobuf field <code>string participant_sid = 1;</code>
protected
mixed
$participant_sid
= ''
$state
Generated from protobuf field <code>.livekit.StreamState state = 3;</code>
protected
mixed
$state
= 0
$track_sid
Generated from protobuf field <code>string track_sid = 2;</code>
protected
mixed
$track_sid
= ''
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = null ]) : mixed
Parameters
- $data : array<string|int, mixed> = null
-
{ Optional. Data for populating the Message object.
@type string $participant_sid @type string $track_sid @type int $state}
getParticipantSid()
Generated from protobuf field <code>string participant_sid = 1;</code>
public
getParticipantSid() : string
Return values
stringgetState()
Generated from protobuf field <code>.livekit.StreamState state = 3;</code>
public
getState() : int
Return values
intgetTrackSid()
Generated from protobuf field <code>string track_sid = 2;</code>
public
getTrackSid() : string
Return values
stringsetParticipantSid()
Generated from protobuf field <code>string participant_sid = 1;</code>
public
setParticipantSid(string $var) : $this
Parameters
- $var : string
Return values
$thissetState()
Generated from protobuf field <code>.livekit.StreamState state = 3;</code>
public
setState(int $var) : $this
Parameters
- $var : int
Return values
$thissetTrackSid()
Generated from protobuf field <code>string track_sid = 2;</code>
public
setTrackSid(string $var) : $this
Parameters
- $var : string