This article describes possible API calls and configurations before joining a channel. Usually, you can quickly implement real-time communications by calling one or two APIs, but if your scenarios require high quality and stability, refer to the additional configurations here.
Unless otherwise specified, this article applies to the following platforms of Agora RTC SDK:
Log file configurations
For easier debugging and to ensure that the SDK outputs complete log files, Agora recommends calling
setLogFile immediately after initializing the Agora service. You can also use
setLogFilter to configure the log file size and output level. See How can I set the log file.
If your scenarios require high-fidelity audio, call
setAudioProfile before joining a channel, and set
GAME_STREAMING(3). See Set the Audio Profile for more configurations.
Interoperability with the Web SDK
If you are using Native SDKs earlier than v3.0.0 in the live-broadcast profile, and your scenario involves the RTC SDK for Web, ensure that you call
enableWebSdkInteroperability before joining a channel.