This topic describes how to troubleshoot common issues related to integration with Real-Time Communication (RTC) SDK for web.
The camera or microphone cannot be used
- Problem description: The error shown in the following figure is reported when you run your client.

- Solution:
- Enable HTTPS for AppServer and the web client.
- Check whether the camera or microphone is disabled or occupied.
A web client cannot communicate with other clients
You must call the setH5CompatibleMode method on other clients to enable the compatibility mode.
An Android device cannot communicate with a web client
Check whether the Android device supports the H.264 protocol.
Note Only Android devices that support the H.264 protocol can communicate with web clients.
Failed to embed the SDK for web in an app
The SDK for web cannot be embedded in an app.
Does the SDK for web support mini programs?
No, the SDK for web does not support WeChat mini programs or Alipay mini programs.
The local camera is not displayed
Solution:
- Check whether HTTPS is enabled for AppServer and the web client.
- Check whether the local camera is disabled.
- Check whether the local camera is occupied.
Can I run the web client on a device without a camera if I use only the audio features of the SDK?
Yes, you can run the web client on a device without a camera if you use only the audio features of the SDK.
该文章对您有帮助吗?