During the audio and video interaction, you might encounter various audio and video issues, such as a black screen, pixelated video, echo, or low volume. This page provides common methods used to troubleshoot these types of audio and video issues.
When you implement the audio and video interaction, remind your user to grant the necessary device permissions to the application, such as permission to use the microphone and camera. See Start Interactive Live Audio Streaming, Start Interactive Live Video Streaming, Start a Voice Call, or Start a Video Call in the Quickstart Guide menu.
When something goes wrong with audio or video, the SDK reports error codes or warning codes to you. You can use these codes to troubleshoot. For more information about the meaning of the codes, refer to the following:
onLocalAudioStateChanged
callbackonLocalVideoStateChanged
callbackonRemoteAudioStateChanged
callbackonRemoteVideoStateChanged
callbackThis section summarizes the specific troubleshooting methods for typical audio and video issues: