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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
RTCAnswerOptions
50
≤79
42
No
?
11
50
50
42
?
11
5.0

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCAnswerOptions