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 | Status | Comment |
---|---|---|
WebRTC 1.0: Real-time Communication Between Browsers The definition of 'RTCAnswerOptions' in that specification. |
Candidate Recommendation | Initial definition. |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
RTCAnswerOptions | Chrome Full support 50 | Edge Full support ≤79 | Firefox Full support 42 | IE No support No | Opera ? | Safari ? | WebView Android Full support 50 | Chrome Android Full support 50 | Firefox Android Full support 42 | Opera Android ? | Safari iOS ? | Samsung Internet Android Full support 5.0 |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown