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

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

RTCOfferAnswerOptions

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

The WebRTC API's RTCOfferAnswerOptions dictionary is used to specify options that configure and control the process of creating WebRTC offers or answers. It's used as the base type for the options parameter when calling createOffer() or createAnswer() on an RTCPeerConnection.

Each of createOffer() and createAnswer() use RTCOfferAnswerOptions as the base type for their options parameter's dictionary. createOffer() uses RTCOfferOptions and createAnswer() uses RTCAnswerOptions.

Properties

voiceActivityDetection Optional
For configurations of systems and codecs that are able to detect when the user is speaking and toggle muting on and off automatically, this option enables and disables that behavior. The default value is true, enabling this functionality

Specifications

Specification Status Comment
WebRTC 1.0: Real-time Communication Between Browsers
The definition of 'RTCOfferAnswerOptions' 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
RTCOfferAnswerOptionsChrome Full support 50Edge Full support ≤79Firefox Full support 42IE No support NoOpera ? Safari ? WebView Android Full support 50Chrome Android Full support 50Firefox Android Full support 42Opera Android ? Safari iOS ? Samsung Internet Android Full support 5.0
voiceActivityDetection
DeprecatedNon-standard
Chrome Full support 50Edge Full support ≤79Firefox No support NoIE No support NoOpera ? Safari ? WebView Android Full support 50Chrome Android Full support 50Firefox Android No support NoOpera Android ? Safari iOS ? Samsung Internet Android Full support 5.0

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown
Non-standard. Expect poor cross-browser support.
Non-standard. Expect poor cross-browser support.
Deprecated. Not for use in new websites.
Deprecated. Not for use in new websites.

文件標籤與貢獻者

最近更新: mdnwebdocs-bot,