W3cubDocs

/DOM

RTCOfferOptions

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, 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.

Specifications

Specification Status Comment
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCOfferOptions' in that specification.
Candidate Recommendation Initial definition.

Browser compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support 50 ? 42
42
RTCOfferOptions was not based on RTCOfferAnswerOptions until Firefox 42.
33
No ? ?
iceRestart 50 ? No No ? ?
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support 50 50 ? 42
42
RTCOfferOptions was not based on RTCOfferAnswerOptions until Firefox 42.
33
? ? ?
iceRestart 50 50 ? No ? ? ?

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCOfferOptions