Documentation

SessionDescription extends Message
in package

Generated from protobuf message <code>livekit.SessionDescription</code>

Table of Contents

Properties

$id  : mixed
Generated from protobuf field <code>uint32 id = 3;</code>
$sdp  : mixed
Generated from protobuf field <code>string sdp = 2;</code>
$type  : mixed
"answer" | "offer" | "pranswer" | "rollback"
$mid_to_track_id  : mixed
Generated from protobuf field <code>map<string, string> mid_to_track_id = 4;</code>

Methods

__construct()  : mixed
Constructor.
getId()  : int
Generated from protobuf field <code>uint32 id = 3;</code>
getMidToTrackId()  : MapField
Generated from protobuf field <code>map<string, string> mid_to_track_id = 4;</code>
getSdp()  : string
Generated from protobuf field <code>string sdp = 2;</code>
getType()  : string
"answer" | "offer" | "pranswer" | "rollback"
setId()  : $this
Generated from protobuf field <code>uint32 id = 3;</code>
setMidToTrackId()  : $this
Generated from protobuf field <code>map<string, string> mid_to_track_id = 4;</code>
setSdp()  : $this
Generated from protobuf field <code>string sdp = 2;</code>
setType()  : $this
"answer" | "offer" | "pranswer" | "rollback"

Properties

$id

Generated from protobuf field <code>uint32 id = 3;</code>

protected mixed $id = 0

$sdp

Generated from protobuf field <code>string sdp = 2;</code>

protected mixed $sdp = ''

$type

"answer" | "offer" | "pranswer" | "rollback"

protected mixed $type = ''

Generated from protobuf field string type = 1;

$mid_to_track_id

Generated from protobuf field <code>map<string, string> mid_to_track_id = 4;</code>

private mixed $mid_to_track_id

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 $type
      "answer" | "offer" | "pranswer" | "rollback"
@type string $sdp
@type int $id
@type array|\Google\Protobuf\Internal\MapField $mid_to_track_id

}

getId()

Generated from protobuf field <code>uint32 id = 3;</code>

public getId() : int
Return values
int

getMidToTrackId()

Generated from protobuf field <code>map<string, string> mid_to_track_id = 4;</code>

public getMidToTrackId() : MapField
Return values
MapField

getSdp()

Generated from protobuf field <code>string sdp = 2;</code>

public getSdp() : string
Return values
string

getType()

"answer" | "offer" | "pranswer" | "rollback"

public getType() : string

Generated from protobuf field string type = 1;

Return values
string

setId()

Generated from protobuf field <code>uint32 id = 3;</code>

public setId(int $var) : $this
Parameters
$var : int
Return values
$this

setMidToTrackId()

Generated from protobuf field <code>map<string, string> mid_to_track_id = 4;</code>

public setMidToTrackId(array<string|int, mixed>|MapField $var) : $this
Parameters
$var : array<string|int, mixed>|MapField
Return values
$this

setSdp()

Generated from protobuf field <code>string sdp = 2;</code>

public setSdp(string $var) : $this
Parameters
$var : string
Return values
$this

setType()

"answer" | "offer" | "pranswer" | "rollback"

public setType(string $var) : $this

Generated from protobuf field string type = 1;

Parameters
$var : string
Return values
$this

        
On this page

Search results