RTCOfferOptions
dictionary is used to provide optional settings when creating an
RTCPeerConnection
offer with the
createOffer()
方法。
This dictionary also inherits properties from the
RTCOfferAnswerOptions
dictionary, on which it's based.
iceRestart
可选
true
, tells
createOffer()
to generate and use new values for the identifying properties of the SDP it creates, resulting in a request that triggers renegotiation of the ICE connection. This is useful if network conditions have changed in a way that make the current configuration untenable or impractical, for instance.
| 规范 | 状态 | 注释 |
|---|---|---|
|
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCOfferOptions' in that specification. |
候选推荐 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
RTCOfferOptions
|
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 |
iceRestart
|
Chrome 50 | Edge ≤79 | Firefox 48 | IE No | Opera ? | Safari ? | WebView Android 50 | Chrome Android 50 | Firefox Android 48 | Opera Android ? | Safari iOS ? | Samsung Internet Android 5.0 |
完整支持
不支持
兼容性未知
见实现注意事项。
RTCOfferOptions
MediaDevices.getUserMedia()
Navigator.mediaDevices
RTCCertificate
RTCDTMFSender
RTCDTMFToneChangeEvent
RTCDataChannel
RTCDataChannelEvent
RTCDtlsTransport
RTCErrorEvent
RTCIceCandidate
RTCIceTransport
RTCPeerConnection
RTCPeerConnectionIceErrorEvent
RTCPeerConnectionIceEvent
RTCRtpReceiver
RTCRtpSender
RTCRtpTransceiver
RTCSctpTransport
RTCSessionDescription
RTCStatsEvent
RTCStatsReport
RTCTrackEvent