Communication
Communication copied to clipboard
[WEB] : rear camera local preview is rotating on the mobile device
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:
Issue No 1: preview rotation

Issue No 2: preview mirrored

Help us to resolve this issue, Any suggestions and comments are welcomed. Thanks in advance!!
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.
Please update to the latest SDK version. That issue shall be fixed.