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. |
候选推荐 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
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 |
完整支持
不支持
兼容性未知
RTCAnswerOptions
MediaDevices.getUserMedia()
Navigator.mediaDevices
RTCCertificate
RTCDTMFSender
RTCDTMFToneChangeEvent
RTCDataChannel
RTCDataChannelEvent
RTCDtlsTransport
RTCErrorEvent
RTCIceCandidate
RTCIceTransport
RTCPeerConnection
RTCPeerConnectionIceErrorEvent
RTCPeerConnectionIceEvent
RTCRtpReceiver
RTCRtpSender
RTCRtpTransceiver
RTCSctpTransport
RTCSessionDescription
RTCStatsEvent
RTCStatsReport
RTCTrackEvent