A class defining the properties of the
config parameter in the createClient method.
"live"if you need to communicate with the native SDK.
"h264"as long as Safari is involved in the session.
"rtc", the Agora Recording SDK will not be supported.
The table below lists the corresponding mode settings between different versions of the Web SDK:
|Before v2.3||From v2.3|
Proxy services by different service providers may result in slow performance if you are using the Firefox browser. Therefore, Agora recommends using the same service provider for the proxy services. If you use different service providers, Agora recommends not using the Firefox browser.
The codec the Web browser uses for encoding and decoding.
"vp8": Sets the browser to use VP8 for encoding and decoding.
"h264": Sets the browser to use H264 for encoding and decoding.
The channel mode.
"live": Sets the channel mode as live broadcast (interop with the native SDK).
"rtc": Sets the channel mode as communication (non-interop with the native SDK).
Your Nginx server domain name.
Enterprise users with a company firewall can use this property to pass signaling messages to the Agora SD-RTN through the Nginx Server.
TURN server settings.
Enterprise users with a company firewall can use this property to pass audio and video data to the Agora SD-RTN through the TURN Server.
Sets whether to force data transfer by TURN Server:
Your TURN Server password.
The TCP port(s) you want add to TURN Server.
Your TURN Server URL address.
The UDP port(s) you want to add to TURN Server.
Your TURN Server username.