API Docs for version 1.2.7300

WebRTCAdapter

Module: Circuit

Summary

Class controlling WebRTC adaptations for devices/browsers.

Properties

unifiedPlanEnabled

Syntax

unifiedPlanEnabled

Boolean

Summary

Use the new WebRTC SDP constraints. Available in Chrome 72+ and Firefox 63+. The new format will become the default at the end of 2019. Using the new format also causes the getLastRtpStats API to return the new stats format. Default is false

Example:

Circuit.WebRTCAdapter.unifiedPlanEnabled = true;

useNewConstraintSyntax

Syntax

useNewConstraintSyntax

Boolean

Summary

Use the new constraints for getUserMedia. Only for video constraints currently. Useful for devices/browsers that only allow the new syntax, e.g. Galaxy S6/S8. Default is false

Example:

Circuit.WebRTCAdapter.useNewConstraintSyntax = true;