# How do I stop the Video SDK from automatically disconnecting my devices/audio?

**URL:** <https://devforum.zoom.us/t/how-do-i-stop-the-video-sdk-from-automatically-disconnecting-my-devices-audio/102947>\
**Category:** Video SDK\
**Created:** [January 31, 2024, 10:49pm UTC](https://devforum.zoom.us/t/how-do-i-stop-the-video-sdk-from-automatically-disconnecting-my-devices-audio/102947 "2024-01-31T22:49:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![wbugenis](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/wbugenis/32/49362_2.png) [@wbugenis](https://devforum.zoom.us/u/wbugenis)\
**Post date:** [January 31, 2024, 10:49pm UTC](https://devforum.zoom.us/t/how-do-i-stop-the-video-sdk-from-automatically-disconnecting-my-devices-audio/102947/1 "2024-01-31T22:49:13Z")

</div>

I’ve noticed some unexpected behavior while using the Web Video SDK I was hoping to either be able to disable, or at least get more insight on -

1. When attempting to use the OBS Virtual Camera as my video device, it works briefly, then the Video SDK turns my camera off. Why is it doing this, and can I get it to stop?

2. I’ve noticed if I turn my microphone system volume all the way down (using MacOS Ventura 13.2.1, with Chrome), the Video SDK will stop my audio, and I was able to figure out it was leaving the session audio by subscribing to the “current-audio-change” listener, where it would give me `{action: 'leave', source: 'audio stream is ended by system'}` as the payload. How can I stop this from happening? I want to be able to change my system volume settings without losing my audio connection to the zoom session.

---

<div class="post-metadata">

**Author:** ![vic.yang](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/vic.yang/32/24656_2.png) [@vic.yang](https://devforum.zoom.us/u/vic.yang)\
**Post date:** [February 1, 2024, 6:03am UTC](https://devforum.zoom.us/t/how-do-i-stop-the-video-sdk-from-automatically-disconnecting-my-devices-audio/102947/2 "2024-02-01T06:03:17Z")

</div>

Hey @wbugenis

Thanks for your feedback.

In recent versions, we have added listeners for the `onended` and `onmute` events of audio/video tracks. When a track stream ends, usually audio/video cannot automatically resume, so we stop the current audio/video. However, there are some exceptional cases.

We will enhance this behavior in the upcoming release to address the issues you have encountered.

Thanks  
Vic

---

<div class="post-metadata">

**Author:** ![wbugenis](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/wbugenis/32/49362_2.png) [@wbugenis](https://devforum.zoom.us/u/wbugenis)\
**Post date:** [February 1, 2024, 6:07pm UTC](https://devforum.zoom.us/t/how-do-i-stop-the-video-sdk-from-automatically-disconnecting-my-devices-audio/102947/3 "2024-02-01T18:07:43Z")

</div>

I see - thanks for the info! Looking forward to the changes in the upcoming releases, I’ll keep an eye on the changelogs.
