Front Camera in Portrait Mode Sends Mirrored Video to Remote Participants on Android

Guido
Mon, 17 Mar 2025 16:30:57 +0000
Video SDK

Video SDK Type and Version

Zoom Video SDK for Android - us.zoom.videosdk:zoomvideosdk-core 2.1.5 (latest version)
Also tested with older versions like 1.14.0, same behavior.

Description

When using the front camera in portrait mode, the local preview on the device looks correct (mirrored), but the video sent to remote participants is mirrored incorrectly (flipped).

In landscape mode, the behavior is correct:

The local preview is mirrored.

The video sent to participants is displayed correctly.

Tested on Google Pixel and Samsung devices.

Error?

No explicit error message, but the behavior is incorrect:

Portrait Mode (Front Camera):

The local preview is mirrored correctly.

Remote participants see the video flipped incorrectly.

Landscape Mode (Front Camera):

Works as expected: the local preview is mirrored, and the remote participants see the correct orientation.

Troubleshooting Routes

1. Tested on multiple devices (Pixel, Samsung) – same issue.

2. Verified the buffers from ZoomVideoSDKPreProcessRawData to ensure correct image data processing.

3. Checked orientation settings in the manifest and SDK initialization.

4. Tested with the official sample app – the issue is reproducible there as well.

5. iOS and Web versions work correctly – the issue only occurs on Android.

How to Reproduce

1. Use the Zoom Video SDK for Android (2.1.5).

2. Start a video session in portrait mode using the front camera.

3. Observe the local preview – it appears correct (mirrored).

4. Observe the video sent to remote participants – it is incorrectly flipped.

5. Switch to landscape mode – both preview and sent video behave correctly.

Is this a known issue? Is there any recommended fix or workaround?

8 posts - 2 participants