Camera not enabled until switchToNextCamera() is called

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

Hi 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!