RTCAnswerOptions

The RTCAnswerOptions dictionary is used to provide optional settings when creating an SDP answer using RTCPeerConnection.createOffer() after receiving an offer from a remote peer. The createOffer() method's options parameter is of this type.

Properties

This dictionary inherits properties from the RTCOfferAnswerOptions dictionary, on which it's based.

Note: At this time, RTCAnswerOptions does not have any additional properties defined beyond those included in RTCOfferAnswerOptions. However, this is likely to change in the future, so the type has been defined in preparation for that eventuality.

Specifications

Specification
WebRTC 1.0: Real-Time Communication Between Browsers (WebRTC 1.0)
# dom-rtcansweroptions

Browser compatibility

BCD tables only load in the browser