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

Class: MediaDescription

Constructors#

constructor#

new MediaDescription(kind, port, profile, fmt)

Parameters#

NameType
kindKind
portnumber
profilestring
fmtnumber[] | string[]

Defined in#

packages/webrtc/src/sdp.ts:356

Properties#

direction#

Optional direction: "inactive" | "sendonly" | "recvonly" | "sendrecv"

Defined in#

packages/webrtc/src/sdp.ts:326


dtlsParams#

Optional dtlsParams: RTCDtlsParameters

Defined in#

packages/webrtc/src/sdp.ts:347


fmt#

fmt: number[] | string[]


host#

Optional host: string

Defined in#

packages/webrtc/src/sdp.ts:325


iceCandidates#

iceCandidates: IceCandidate[] = []

Defined in#

packages/webrtc/src/sdp.ts:351


iceCandidatesComplete#

iceCandidatesComplete: boolean = false

Defined in#

packages/webrtc/src/sdp.ts:352


iceOptions#

Optional iceOptions: string

Defined in#

packages/webrtc/src/sdp.ts:353


iceParams#

Optional iceParams: RTCIceParameters

Defined in#

packages/webrtc/src/sdp.ts:350


kind#

kind: Kind


msid#

Optional msid: string

Defined in#

packages/webrtc/src/sdp.ts:327


port#

port: number


profile#

profile: string


rtcpHost#

Optional rtcpHost: string

Defined in#

packages/webrtc/src/sdp.ts:331


rtcpMux#

rtcpMux: boolean = false

Defined in#

packages/webrtc/src/sdp.ts:332


rtcpPort#

Optional rtcpPort: number

Defined in#

packages/webrtc/src/sdp.ts:330


rtp#

rtp: RTCRtpParameters

Defined in#

packages/webrtc/src/sdp.ts:339


sctpCapabilities#

Optional sctpCapabilities: RTCSctpCapabilities

Defined in#

packages/webrtc/src/sdp.ts:342


sctpMap#

sctpMap: Object = {}

Index signature#

▪ [key: number]: string

Defined in#

packages/webrtc/src/sdp.ts:343


sctpPort#

Optional sctpPort: number

Defined in#

packages/webrtc/src/sdp.ts:344


simulcastParameters#

simulcastParameters: RTCRtpSimulcastParameters[] = []

Defined in#

packages/webrtc/src/sdp.ts:356


ssrc#

ssrc: SsrcDescription[] = []

Defined in#

packages/webrtc/src/sdp.ts:335


ssrcGroup#

ssrcGroup: GroupDescription[] = []

Defined in#

packages/webrtc/src/sdp.ts:336

Methods#

toString#

toString(): string

Returns#

string

Defined in#

packages/webrtc/src/sdp.ts:365