# How to end both audio and video

**URL:** <https://devforum.zoom.us/t/how-to-end-both-audio-and-video/91795>\
**Category:** Meeting SDK\
**Created:** [July 13, 2023, 8:06pm UTC](https://devforum.zoom.us/t/how-to-end-both-audio-and-video/91795 "2023-07-13T20:06:12Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![c.egeolu](https://avatars.discourse-cdn.com/v4/letter/c/c68b51/32.png) [@c.egeolu](https://devforum.zoom.us/u/c.egeolu)\
**Post date:** [July 13, 2023, 8:06pm UTC](https://devforum.zoom.us/t/how-to-end-both-audio-and-video/91795/1 "2023-07-13T20:06:12Z")

</div>

I am using Zoom WEB SDK version 2.14. Please i will like to know how to end the audio and video. I have tried the code below but it did not work

```
                            ZoomMtg.stopVideo({
                                success: function (res) {
                                    //console.log('Video stopped successfully');
                                },
                                error: function (res) {
                                    //console.log(res);
                                }
                            });

```

But it is not working.
