RtcSessionController
Summary
Class controlling WebRTC parameters. Settings in this class are global and affect all calls on all client instances.
Item Index
Properties
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;