The RTCSessionDescription interface describes one end of a connection—or
connection—and how it's configured. Each RTCSessionDescription
of a description web.type
indicating which part of the offer/answer
process it describes and of the SDP descriptor of the session.
The RTCSessionDescription interface describes one end of a connection—or connection—and how it's configured. Each RTCSessionDescription of a description `web.type` indicating which part of the offer/answer process it describes and of the SDP descriptor of the session.
Constructor.
The RTCSessionDescription() constructor creates a new rtc.RTCSessionDescription
with its properties initialized as described in the specified object.
See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/RTCSessionDescription
Constructor. The RTCSessionDescription() constructor creates a new `rtc.RTCSessionDescription` with its properties initialized as described in the specified object. See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/RTCSessionDescription`
(rtc-session-description this rtc-session-description-init)
Method.
The RTCSessionDescription() constructor creates a new rtc.RTCSessionDescription
its properties initialized as described in the specified object.
sessionDescription = new RTCSessionDescription(rtcSessionDescriptionInit);
See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/RTCSessionDescription
Method. The RTCSessionDescription() constructor creates a new `rtc.RTCSessionDescription` its properties initialized as described in the specified object. `sessionDescription = new RTCSessionDescription(rtcSessionDescriptionInit);` See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/RTCSessionDescription`
(sdp this)
Property.
The property RTCSessionDescription.sdp is a read-only dom.DOMString
the SDP which describes the session.
var value = sessionDescription.sdp; sessionDescription.sdp = value;
See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/sdp
Property. The property RTCSessionDescription.sdp is a read-only `dom.DOMString` the SDP which describes the session. `var value = sessionDescription.sdp; sessionDescription.sdp = value;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/sdp`
(set-sdp! this val)
Property.
The property RTCSessionDescription.sdp is a read-only dom.DOMString
the SDP which describes the session.
var value = sessionDescription.sdp; sessionDescription.sdp = value;
See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/sdp
Property. The property RTCSessionDescription.sdp is a read-only `dom.DOMString` the SDP which describes the session. `var value = sessionDescription.sdp; sessionDescription.sdp = value;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/sdp`
(set-type! this val)
Property.
The property RTCSessionDescription.type is a read-only value type RTCSdpType which describes the description's type.
var value = sessionDescription.type; sessionDescription.type = value;
See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/type
Property. The property RTCSessionDescription.type is a read-only value type RTCSdpType which describes the description's type. `var value = sessionDescription.type; sessionDescription.type = value;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/type`
(to-json this & args)
Method.
The RTCSessionDescription.toJSON() method generates a JSON description
the object. Both properties, web.type
and web.sdp
, are contained
the generated JSON.
`var jsonValue = sd.toJSON();
The result value is a web.JSON
object containing the following values:
"type", containing the value of the rtc.RTCSessionDescription.type
property and can be one of the following values: "offer", "answer", "pranswer" or null.
"sdp", containing a dom.DOMString
, or null, with the SDP message corresponding to rtc.RTCSessionDescription.sdp
property.`
See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/toJSON
Method. The RTCSessionDescription.toJSON() method generates a JSON description the object. Both properties, `web.type` and `web.sdp`, are contained the generated JSON. `var jsonValue = sd.toJSON(); The result value is a `web.JSON` object containing the following values: \"type\", containing the value of the `rtc.RTCSessionDescription.type` property and can be one of the following values: \"offer\", \"answer\", \"pranswer\" or null. \"sdp\", containing a `dom.DOMString`, or null, with the SDP message corresponding to `rtc.RTCSessionDescription.sdp` property.` See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/toJSON`
(type this)
Property.
The property RTCSessionDescription.type is a read-only value type RTCSdpType which describes the description's type.
var value = sessionDescription.type; sessionDescription.type = value;
See also: https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/type
Property. The property RTCSessionDescription.type is a read-only value type RTCSdpType which describes the description's type. `var value = sessionDescription.type; sessionDescription.type = value;` See also: `https://developer.mozilla.org/en-US/docs/Web/API/RTCSessionDescription/type`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close