Communication icon indicating copy to clipboard operation
Communication copied to clipboard

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

Open Muthukumar230195 opened this issue 3 years ago • 1 comments

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 avatar Jun 30 '22 11:06 Muthukumar230195

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.

Muthukumar230195 avatar Jul 01 '22 06:07 Muthukumar230195

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

fizampou avatar Feb 22 '23 00:02 fizampou