Azure / Communication

Azure Communication Services - SDKs and Release Notes
MIT License
317 stars 98 forks source link

[WEB] : rear camera local preview is rotating on the mobile device #473

Closed Muthukumar230195 closed 1 year ago

Muthukumar230195 commented 2 years ago

we are developing the virtual visit web app using azure communication calling web SDK. we also made the web app responsive to make it available on mobile devices. In the mobile device, if the user switches to the rear camera, then the stream preview is showing as mirrored and also rotating when the user rotates the device from portrait view to landscape view.

Code: image Issue No 1: preview rotation Screenshot 2022-06-30 171759

Issue No 2: preview mirrored Screenshot 2022-06-30 172641

Help us to resolve this issue, Any suggestions and comments are welcomed. Thanks in advance!!

Muthukumar230195 commented 2 years ago

image If I use this option "isMirrored: true", then the rear camera view is working fine, but the front camera view is rotating when the user rotates the device from the portrait view to the landscape view without enabling the "auto-rotate" option.

fizampou commented 1 year ago

Please update to the latest SDK version. That issue shall be fixed.