microsoft / omnichannel-chat-sdk

Headless Chat SDK to build your own chat widget against Dynamics 365 Omnichannel Services.
MIT License
42 stars 41 forks source link

Is there any API to switch front/back camera on mobile device? #251

Closed jie-meng closed 1 year ago

jie-meng commented 1 year ago

For laptops, there is only one single API. On Android/iOS devices, there are front and back, two cameras. We I use omnichannel-chat-sdk, debug in Chrome, I find it will use a CallingBundle.js, which will check which camera to use. But there is no API for me to pass the camera selection or toggle the camera change.

I want to know how to switch the camera with omnichannel-chat-sdk within a Web application on mobile App.

WeChatWorkScreenshot_61f4a691-bdef-4e9f-b17b-cba2310aac14

WeChatWorkScreenshot_25b6ebb9-2c72-4ecb-8830-7eadbb6bc064

xTEddie commented 1 year ago

Switching Front/Back Camera is currently not supported