API Docs for version 1.3.1811

RtcSessionController

Module: Circuit

Summary

Class controlling WebRTC parameters. Settings in this class are global and affect all calls on all client instances.

Properties

candidatesTimeout

Syntax

candidatesTimeout

Number

Summary

ICE collection timeout in ms.

Default: 2000

Example:

Circuit.RtcSessionController.candidatesTimeout = 5000;

customTurnServers

Syntax

customTurnServers

String[]

Summary

Add custom TURN servers.

Example:

Circuit.RtcSessionController.customTurnServers = ['turn:turn02.hubl.in?transport=tcp'];

sdpParameters

Syntax

sdpParameters

Object

Summary

Default WebRTC SDP parameters for video and screenshare. Read property to see available attributes.

Example:

Circuit.RtcSessionController.sdpParameters.video.maxBw = 2048;

xGoogle

Syntax

xGoogle

Object

Summary

Default WebRTC xGoogle parameters for video and screenshare. Read property to see available attributes.

Example:

Circuit.RtcSessionController.xGoogle.screenShare.minBitRate = 500;