W3cubDocs

/Haxe JavaScript

SessionDescription

package js.html.rtc

@:native("RTCSessionDescription") Available on js

The RTCSessionDescription interface represents the parameters of a session. Each RTCSessionDescription consists of a description type indicating which part of the offer/answer negotiation process it describes and of the SDP descriptor of the session.

Documentation RTCSessionDescription by Mozilla Contributors, licensed under CC-BY-SA 2.5.

See:

Constructor

new (?descriptionInitDict:SessionDescriptionInit)

Throws:

null DOMError

Variables

sdp:String

A DOMString containing the SDP describing the session.

type:SdpType

An enum of type RTCSdpType describing the session description's type.

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/js/html/rtc/SessionDescription.html