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:
- The device’s rotation lock is disabled
- The user rotates their device to landscape mode during an active video call
- 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:
- Launch the app and join a video call
- Disable device rotation lock
- Physically rotate the device to landscape mode
- 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.