# Camera not enabled until switchToNextCamera() is called

**URL:** <https://devforum.zoom.us/t/camera-not-enabled-until-switchtonextcamera-is-called/15309>\
**Category:** Android\
**Created:** [April 28, 2020, 10:30pm UTC](https://devforum.zoom.us/t/camera-not-enabled-until-switchtonextcamera-is-called/15309 "2020-04-28T22:30:30Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dlee](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/dlee/32/6203_2.png) [@dlee](https://devforum.zoom.us/u/dlee)\
**Post date:** [April 28, 2020, 10:30pm UTC](https://devforum.zoom.us/t/camera-not-enabled-until-switchtonextcamera-is-called/15309/1 "2020-04-28T22:30:30Z")

</div>

**Description**

Hello, I am working on a project with custom meeting UI. When the user joins the meeting (MeetingStatus.MEETING\_STATUS\_INMEETING), I add the views like this:

```
                val videoViewManager = zoom_mobile_rtc_video.videoViewManager
                videoViewManager.addActiveVideoUnit(MobileRTCVideoUnitRenderInfo(0, 0, 100, 100))
                videoViewManager.addAttendeeVideoUnit(zoomSdk.inMeetingService.myUserID, MobileRTCVideoUnitRenderInfo(75, 75, 20, 20))

```

However, the user’s video is not activated immediately (just see the placeholder icon). If I call

```
zoomSdk.inMeetingService.inMeetingVideoController.switchToNextCamera()

```

then the user’s video is activated, but ideally I don’t have to do that (and also the camera switches to the back-facing camera).

Do you have any suggestions on how to make the video activate immediately? Thanks!

**Which version?**

v4.6.15801.0403

---

<div class="post-metadata">

**Author:** ![carson.zoom](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/carson.zoom/32/785_2.png) [@carson.zoom](https://devforum.zoom.us/u/carson.zoom)\
**Post date:** [May 1, 2020, 4:32am UTC](https://devforum.zoom.us/t/camera-not-enabled-until-switchtonextcamera-is-called/15309/2 "2020-05-01T04:32:04Z")

</div>

Hi [dlee](https://devforum.zoom.us/u/dlee),

Thanks for the post. It is hard to tell why you are facing this issue with the info provided. Could you have a try with our demo app and see if you are experiencing the same? If you are experiencing the same issue with our demo app, could you provide the device info?

Thanks!

---

<div class="post-metadata">

**Author:** ![DeveloperBot](https://sea2.discourse-cdn.com/flex016/user_avatar/devforum.zoom.us/developerbot/32/12632_2.png) [@DeveloperBot](https://devforum.zoom.us/u/DeveloperBot)\
**Post date:** [August 21, 2020, 8:59pm UTC](https://devforum.zoom.us/t/camera-not-enabled-until-switchtonextcamera-is-called/15309/3 "2020-08-21T20:59:43Z")

</div>

Closed on August 21, 2020, 8:59pm UTC


