Hello,
I hosted the reactjs sample app (web) on my domain and open it on chrome android
I cannot switch to back camera. It alway show front camera
Here is the screen capture video:
https://3cxcloudonline-my.sharepoint.com/:v:/g/personal/nicolas_idb_com_vn/EZHYyi3oafxDoWUNa7cCcgYBtkXz-T8ukmUwbYOMpsV4sg?e=yFhAjm
Please help!
Web Video SDK: 1.5.1
Device: Chrome 106 on Android 8.1
vic.yang
(Vic)
2
Hey @thanh.huynh
Thanks for your feedback.
On mobile devices, we suggest using the FacingMode as the camera ID. MobileVideoFacingMode | Zoom Video SDK for Web - 1.5.1
Thanks
Vic
So how can I switch to back camera?
Can you give me the code?
Because the code in the sample app doesn’t work
Will this work?
stream.switchCamera(“environment”)
vic.yang
(Vic)
5
Hey @thanh.huynh
Yes. That’s right. Also, you can use the exported object MobileVideoFacingMode.Environment
.
Thanks
Vic
Ok it works now
Thank you!
system
(system)
Closed
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.