メインコンテンツまでスキップ

Class: SessionDescription

Constructors#

constructor#

new SessionDescription()

Properties#

dtlsFingerprints#

dtlsFingerprints: RTCDtlsFingerprint[] = []

Defined in#

packages/webrtc/src/sdp.ts:45


dtlsRole#

dtlsRole: DtlsRole

Defined in#

packages/webrtc/src/sdp.ts:40


group#

group: GroupDescription[] = []

Defined in#

packages/webrtc/src/sdp.ts:36


host#

Optional host: string

Defined in#

packages/webrtc/src/sdp.ts:35


iceLite#

iceLite: boolean

Defined in#

packages/webrtc/src/sdp.ts:42


iceOptions#

iceOptions: string

Defined in#

packages/webrtc/src/sdp.ts:41


icePassword#

icePassword: string

Defined in#

packages/webrtc/src/sdp.ts:43


iceUsernameFragment#

iceUsernameFragment: string

Defined in#

packages/webrtc/src/sdp.ts:44


media#

media: MediaDescription[] = []

Defined in#

packages/webrtc/src/sdp.ts:38


msidSemantic#

msidSemantic: GroupDescription[] = []

Defined in#

packages/webrtc/src/sdp.ts:37


name#

name: string = "-"

Defined in#

packages/webrtc/src/sdp.ts:33


origin#

Optional origin: string

Defined in#

packages/webrtc/src/sdp.ts:32


time#

time: string = "0 0"

Defined in#

packages/webrtc/src/sdp.ts:34


type#

type: "offer" | "answer"

Defined in#

packages/webrtc/src/sdp.ts:39


version#

version: number = 0

Defined in#

packages/webrtc/src/sdp.ts:31

Accessors#

string#

get string(): string

Returns#

string

Defined in#

packages/webrtc/src/sdp.ts:303

Methods#

toJSON#

toJSON(): RTCSessionDescription

Returns#

RTCSessionDescription

Defined in#

packages/webrtc/src/sdp.ts:318


webrtcTrackId#

webrtcTrackId(media): undefined | string

Parameters#

NameType
mediaMediaDescription

Returns#

undefined | string

Defined in#

packages/webrtc/src/sdp.ts:288


parse#

Static parse(sdp): SessionDescription

Parameters#

NameType
sdpstring

Returns#

SessionDescription

Defined in#

packages/webrtc/src/sdp.ts:47