logo
On this page

How to print SDK logs to the console using Express SDK?

2023-03-30
Products / Plugins:Video Call / Audio Call / Live streaming
Platform / Framework:iOS / Android / macOS / Windows / Linux / Flutter / Electron / ReactNative / uni-app / Unity3D / HarmonyOS

On each platform and framework, you can set it through the Express SDK interface. Taking the Android platform as an example:

Developers can enable the debug assistant by setting the enable parameter of the enableDebugAssistant interface to TRUE. After successful setup, the SDK will print logs to the console and display error prompts in a UI popup when problems occur in the calls of other SDK functions.

Note

The above method applies to all platforms and frameworks except Web and mini programs.

Previous

When playing streams on the Web platform, the error "Player already exist!" appears. What is the reason?

Next

When logging in to a room on the Web platform, the error "cmd=login, err_code=1011, err_message=token format error" is displayed?