The RTCOfferOptions
dictionary is used to provide optional settings when creating an RTCPeerConnection
offer with the createOffer()
method.
Properties
This dictionary also inherits properties from the RTCOfferAnswerOptions
dictionary, on which it's based.
iceRestart
Optional- A Boolean which, when set to
true
, tellscreateOffer()
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.
Specifications
Specification | Status | Comment |
WebRTC 1.0: Real-time Communication Between BrowsersThe definition of 'RTCOfferOptions' in that specification. | Candidate Recommendation | Initial definition. |
Browser compatibility
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.
Update compatibility data on GitHub
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
RTCOfferOptions
|
Chrome
Full support 50 |
Edge
Full support ≤79 |
Firefox Full support 42 Full support 42 Notes' |
IE
No support No |
Opera
? |
Safari
? |
WebView Android
Full support 50 |
Chrome Android
Full support 50 |
Firefox Android Full support 42 Full support 42 Notes' |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
Full support 5.0 |
iceRestart
|
Chrome
Full support 50 |
Edge
Full support ≤79 |
Firefox
Full support 48 |
IE
No support No |
Opera
? |
Safari
? |
WebView Android
Full support 50 |
Chrome Android
Full support 50 |
Firefox Android
Full support 48 |
Opera Android
? |
Safari iOS
? |
Samsung Internet Android
Full support 5.0 |
Legend
- Full support
- Full support
- No support
- No support
- Compatibility unknown
- Compatibility unknown
- See implementation notes.'
- See implementation notes.
RTCOfferOptions by Mozilla Contributors is licensed under CC-BY-SA 2.5.