Class: MediaDescription
#
Constructors#
constructor• new MediaDescription(kind
, port
, profile
, fmt
)
#
ParametersName | Type |
---|---|
kind | Kind |
port | number |
profile | string |
fmt | number [] | string [] |
#
Defined inpackages/webrtc/src/sdp.ts:356
#
Properties#
direction• Optional
direction: "inactive"
| "sendonly"
| "recvonly"
| "sendrecv"
#
Defined inpackages/webrtc/src/sdp.ts:326
#
dtlsParams• Optional
dtlsParams: RTCDtlsParameters
#
Defined inpackages/webrtc/src/sdp.ts:347
#
fmt• fmt: number
[] | string
[]
#
host• Optional
host: string
#
Defined inpackages/webrtc/src/sdp.ts:325
#
iceCandidates• iceCandidates: IceCandidate[] = []
#
Defined inpackages/webrtc/src/sdp.ts:351
#
iceCandidatesComplete• iceCandidatesComplete: boolean
= false
#
Defined inpackages/webrtc/src/sdp.ts:352
#
iceOptions• Optional
iceOptions: string
#
Defined inpackages/webrtc/src/sdp.ts:353
#
iceParams• Optional
iceParams: RTCIceParameters
#
Defined inpackages/webrtc/src/sdp.ts:350
#
kind• kind: Kind
#
msid• Optional
msid: string
#
Defined inpackages/webrtc/src/sdp.ts:327
#
port• port: number
#
profile• profile: string
#
rtcpHost• Optional
rtcpHost: string
#
Defined inpackages/webrtc/src/sdp.ts:331
#
rtcpMux• rtcpMux: boolean
= false
#
Defined inpackages/webrtc/src/sdp.ts:332
#
rtcpPort• Optional
rtcpPort: number
#
Defined inpackages/webrtc/src/sdp.ts:330
#
rtp• rtp: RTCRtpParameters
#
Defined inpackages/webrtc/src/sdp.ts:339
#
sctpCapabilities• Optional
sctpCapabilities: RTCSctpCapabilities
#
Defined inpackages/webrtc/src/sdp.ts:342
#
sctpMap• sctpMap: Object
= {}
#
Index signature▪ [key: number
]: string
#
Defined inpackages/webrtc/src/sdp.ts:343
#
sctpPort• Optional
sctpPort: number
#
Defined inpackages/webrtc/src/sdp.ts:344
#
simulcastParameters• simulcastParameters: RTCRtpSimulcastParameters[] = []
#
Defined inpackages/webrtc/src/sdp.ts:356
#
ssrc• ssrc: SsrcDescription[] = []
#
Defined inpackages/webrtc/src/sdp.ts:335
#
ssrcGroup• ssrcGroup: GroupDescription[] = []
#
Defined inpackages/webrtc/src/sdp.ts:336
#
Methods#
toString▸ toString(): string
#
Returnsstring