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

特性

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

注意: 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.

规范

规范 状态 注释
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCAnswerOptions' in that specification.
候选推荐 初始定义。

浏览器兼容性

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. 更新 GitHub 上的兼容性数据
桌面 移动
Chrome Edge Firefox Internet Explorer Opera Safari Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
RTCAnswerOptions Chrome 50 Edge ≤79 Firefox 42 IE No Opera ? Safari ? WebView Android 50 Chrome Android 50 Firefox Android 42 Opera Android ? Safari iOS ? Samsung Internet Android 5.0

图例

完整支持

完整支持

不支持

不支持

兼容性未知 ?

兼容性未知

元数据

  • 最后修改: