RTCOfferAnswerOptions - Web APIs 编辑
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
BCD tables only load in the browser
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论