# Why does the SDK stop sending audio or video after the user uses a third-party app? (/en/api-reference/faq/quality/device_occupied)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

### When a third-party recording app is being used on the Android device, the local user cannot send the local audio stream. Why is there no warning or error message from the SDK? [#when-a-third-party-recording-app-is-being-used-on-the-android-device-the-local-user-cannot-send-the-local-audio-stream-why-is-there-no-warning-or-error-message-from-the-sdk]

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:

* The warning code WARN\_ADM\_RECORD\_AUDIO\_LOWLEVEL(1031), triggered multiple times.
* The error code ERR\_ADM\_RECORD\_AUDIO\_IS\_ACTIVE(1033).

You can remind your user to quit the third-party recording app before using yours.

### I cannot send audio/video after switching to other apps and back during a call using the Agora Web SDK. [#i-cannot-send-audiovideo-after-switching-to-other-apps-and-back-during-a-call-using-the-agora-web-sdk]

**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.
