# Camera permission

**URL:** <https://community.sendbird.com/t/camera-permission/3456>\
**Category:** JavaScript\
**Created:** [December 1, 2021, 7:15am UTC](https://community.sendbird.com/t/camera-permission/3456 "2021-12-01T07:15:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marko\_Andjelkovic](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/marko_andjelkovic/32/1798_2.png) [@Marko\_Andjelkovic](https://community.sendbird.com/u/Marko_Andjelkovic)\
**Post date:** [December 1, 2021, 7:15am UTC](https://community.sendbird.com/t/camera-permission/3456/1 "2021-12-01T07:15:46Z")

</div>

Hi guys , is it possible to avoid camera permission when call is connecting , and to request prompt for camera ( local video ) in the middle of the call? Does Sendbird api call by self prompt for camera if call object include property videoEnabled=true?  
The case is that we want to have a video call , but only to request camera permission if we press on button to show local video ( and this can happen in the middle of the call ) , hope I was clear 🙂 , any suggestion , idea , hint are welcome …thanks

---

<div class="post-metadata">

**Author:** ![Miyoung\_Han](https://sea2.discourse-cdn.com/flex020/user_avatar/community.sendbird.com/miyoung_han/32/183_2.png) [@Miyoung\_Han](https://community.sendbird.com/u/Miyoung_Han)\
**Post date:** [December 9, 2021, 8:16pm UTC](https://community.sendbird.com/t/camera-permission/3456/2 "2021-12-09T20:16:58Z")

</div>

Hi @Marko_Andjelkovic ,

We provide the SendBirdCall.useMedia() method in order to grant permission to access media devices.

> **[Direct call | Calls JavaScript SDK | Sendbird Docs](https://sendbird.com/docs/calls/v1/javascript/guides/direct-call#2-configure-media-devices)**
>
> Explore the key functions of direct calls for JavaScript.
