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.


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.


Specification Status Comment
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCAnswerOptions' in that specification.
Candidate Recommendation Initial definition.

Browser compatibilityUpdate compatibility data on GitHub

Chrome Edge Firefox Internet Explorer Opera Safari
Basic support 50 ? 42 No ? ?
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support 50 50 ? 42 ? ? ?

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.