Video frame rotation issue on iOS when device orientation changes during video call

Description:
We are experiencing an issue with the Zoom SDK video frame rotation on iOS devices during video calls, Android devices is working good. The issue occurs specifically when:

  1. The device’s rotation lock is disabled
  2. The user rotates their device to landscape mode during an active video call
  3. The video frame rotates along with the device orientation, despite our app being locked to portrait mode

Current Implementation:

  • We have implemented device orientation lock to portrait mode using Flutter’s SystemChrome:
await SystemChrome.setPreferredOrientations(<DeviceOrientation>[
  DeviceOrientation.portraitUp,
  DeviceOrientation.portraitDown,
]);
  • The app’s UI remains in portrait mode as expected
  • However, the Zoom SDK’s video frame still rotates when the device is physically rotated

Expected Behavior:

  • The video frame should maintain its portrait orientation regardless of physical device orientation
  • The video frame should not rotate even when device rotation lock is disabled

Actual Behavior:

  • When device rotation lock is disabled:
    • The video frame rotates when device is physically rotated to landscape
    • This creates a poor user experience as the video content appears sideways
  • When device rotation lock is enabled:
    • The video frame maintains correct portrait orientation
    • This is the expected behavior we want in all cases

Environment:

  • Platform: iOS
  • Zoom SDK Version: 1.12.10
  • Flutter Version: 3.19.6
  • Device: Tested on multiple iOS devices

Steps to Reproduce:

  1. Launch the app and join a video call
  2. Disable device rotation lock
  3. Physically rotate the device to landscape mode
  4. Observe that the video frame rotates with the device

Additional Notes:

  • This issue only occurs on iOS devices
  • The issue is reproducible consistently
  • The app’s UI orientation lock works correctly, only the Zoom video frame is affected
  • This behavior creates a poor user experience as users may accidentally rotate their device during calls

Request:
We would like to know if this is a known issue with the Zoom SDK, and if there are any recommended solutions or workarounds to ensure the video frame maintains portrait orientation regardless of device rotation lock status.

1 Like

@ekaansh.zoom Please help me check this issue

Hello Son,

We are currently investigating this issue internally.

Thank you for your patience,
Richard

2 Likes

Hello Son,

Is it possible for you to please provide screenshots of this issue? Based on your description, it sounds like when the portrait orientation is locked, the video frame changes size. Do you wish the video to remain the same size as in portrait? If so, that will need to be a feature request, because the change in frame size is expected behavior.

Thank you for your patience,
Richard