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
.
voiceActivityDetection
Optional
true
, enabling this functionalitySpecification | Status | Comment |
---|---|---|
WebRTC 1.0: Real-time Communication Between Browsers The definition of 'RTCOfferAnswerOptions' in that specification. | Candidate Recommendation | Initial definition. |
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | 50 | ? | 42 | No | ? | ? |
voiceActivityDetection |
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 | ? | ? | ? |
voiceActivityDetection |
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/RTCOfferAnswerOptions