We recommed referring to the following logic when implementing your code:
Before the user joins the channel, use the Android native methods to get the status of the audio recorder. When the audio recorder is available, if, within 6 seconds after the user joins the channel, the app receives the following codes, the SDK decides that the recording device is occupied:
You can remind your user to quit the third-party recording app before using yours.
Issue: If you switch to another app (for example answering a FaceTime call) during a web call, you cannot send any audio/video after switching back to the call.
Reason: A third-party application, such as FaceTime, takes over the audio/video device and your device may fail to send audio/video after resuming your web call.
Solution: Refresh the web page.