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 compatibility

DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
RTCOfferOptionsChrome Full support 50Edge Full support ≤79Firefox Full support 42
Notes
Full support 42
Notes
Notes RTCOfferOptions was not based on RTCOfferAnswerOptions until Firefox 42.
Full support 33
IE No support NoOpera ? Safari ? WebView Android Full support 50Chrome Android Full support 50Firefox Android Full support 42
Notes
Full support 42
Notes
Notes RTCOfferOptions was not based on RTCOfferAnswerOptions until Firefox 42.
Full support 33
Opera Android ? Safari iOS ? Samsung Internet Android Full support 5.0
iceRestartChrome Full support 50Edge Full support ≤79Firefox Full support 48IE No support NoOpera ? Safari ? WebView Android Full support 50Chrome Android Full support 50Firefox Android Full support 48Opera 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.