RTCSessionDescriptionInit Dictionary object

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

The RTCSessionDescriptionInit dictionary specifies the RTCSessionDescriptiondescription and type.

Dictionary

Member Type Description
type RTCSdpType The type of RTCSessionDescriptionInit instance.
sdp DOMString The string representation of the SDP.

 

Remarks

The RTCSdpType enum (the type of the type dictionary member) has the following enumerations:

Member Description
"offer" A description must be treated as an SDP offer.
"pranswer" A description must be treated as an SDP answer, but not a final answer.
"answer" A description must be treated as an SDP final answer, and the offer-answer exchange must be considered complete.

 

See also

RTCSessionDescription