Class: SessionDescription
#
Constructors#
constructor• new SessionDescription()
#
Properties#
dtlsFingerprints• dtlsFingerprints: RTCDtlsFingerprint[] = []
#
Defined in#
dtlsRole• dtlsRole: DtlsRole
#
Defined in#
group• group: GroupDescription[] = []
#
Defined in#
host• Optional
host: string
#
Defined in#
iceLite• iceLite: boolean
#
Defined in#
iceOptions• iceOptions: string
#
Defined in#
icePassword• icePassword: string
#
Defined in#
iceUsernameFragment• iceUsernameFragment: string
#
Defined in#
media• media: MediaDescription[] = []
#
Defined in#
msidSemantic• msidSemantic: GroupDescription[] = []
#
Defined in#
name• name: string
= "-"
#
Defined in#
origin• Optional
origin: string
#
Defined in#
time• time: string
= "0 0"
#
Defined in#
type• type: "offer"
| "answer"
#
Defined in#
version• version: number
= 0
#
Defined in#
Accessors#
string• get
string(): string
#
Returnsstring
#
Defined inpackages/webrtc/src/sdp.ts:303
#
Methods#
toJSON▸ toJSON(): RTCSessionDescription
#
Returns#
Defined inpackages/webrtc/src/sdp.ts:318
#
webrtcTrackId▸ webrtcTrackId(media
): undefined
| string
#
ParametersName | Type |
---|---|
media | MediaDescription |
#
Returnsundefined
| string
#
Defined inpackages/webrtc/src/sdp.ts:288
#
parse▸ Static
parse(sdp
): SessionDescription
#
ParametersName | Type |
---|---|
sdp | string |