您正位於 MDN Web Docs 的可編輯版本

以 MDN Web Docs 使用者身分檢視: https://developer.mozilla.org/zh-TW/docs/Web/API/RTCOfferOptions

我們的志工尚未將本文翻譯為 正體中文 (繁體) 版本。加入我們,幫忙翻譯!
您也可以閱讀本文的 English (US) 版本。

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

Update compatibility data on GitHub
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.

文件標籤與貢獻者

此頁面的貢獻者: mdnwebdocs-bot, sideshowbarker, Sheppy
最近更新: mdnwebdocs-bot,