> For the complete documentation index, see [llms.txt](https://docs.digitalsamba.com/reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalsamba.com/reference/sdk/methods/disablevideo.md).

# disableVideo()

Disables (turns off) user's camera.

```javascript
sambaFrame.disableVideo();
```

**Sample use cases**:&#x20;

* Have a custom toolbar in your integration and want user to control camera from it.
* You may want to turn off user's camera based on a concrete situation in your application.

{% hint style="info" %}
The related event is [videoDisabled](/reference/sdk/events/videodisabled.md), if you want to be informed when user disables camera.
{% endhint %}
