SessionDescription

package js.html.rtc

Available on js

The RTCSessionDescription interface describes one end of a connection—or potential connection—and how it's configured. 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 also:

Constructor

new(?descriptionInitDict:Null<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.

Methods

toJSON():Dynamic

Returns a JSON description of the object. The values of both properties, RTCSessionDescription.type and RTCSessionDescription.sdp, are contained in the generated JSON.

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