type
Summary
The type of SDP object this RTCSessionDescription represents.
Property of apis/webrtc/RTCSessionDescriptionapis/webrtc/RTCSessionDescription
Syntax
var result = element.type;
element.type = value;
Return Value
Returns an object of type RTCSdpTypeRTCSdpType
The RTCSdpType enum has the following values:
- answer - use the SDP object as the final answer.
- offer - use the SDP object as an offer.
- pranswer - use the SDP object as a provisional answer.