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

Browser compatibility

Desktop Mobile
Chrome Edge Firefox Internet Explorer Opera Safari WebView Android Chrome Android Firefox for Android Opera Android Safari on IOS Samsung Internet
RTCOfferOptions
50
≤79
42
RTCOfferOptions was not based on RTCOfferAnswerOptions until Firefox 42.
33
No
?
11
50
50
42
RTCOfferOptions was not based on RTCOfferAnswerOptions until Firefox 42.
33
?
11
5.0
iceRestart
50
≤79
48
No
?
11
50
50
48
?
11
5.0

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/RTCOfferOptions