Video for remote user is not rotating

Description

I’m using the Zoom Video SDK for iOS to implement a video call interface. My project is designed for portrait mode only, but I’m trying to enable landscape support. However, when the device rotates to landscape mode, the video canvas does not resize properly. Instead of filling the screen, it keeps the same dimensions as in portrait mode, leaving black bars on the sides.

I want the Zoom video canvas to fully adjust to the screen when rotating between portrait and landscape modes.


Which iOS Video SDK version?

Version: ‘2.1.0’


To Reproduce (If applicable)

Steps to reproduce the behavior:

  1. Start a Zoom Video SDK session.
  2. Display the primary video feed in a UIView.
  3. Rotate the device to landscape mode.
  4. The video canvas does not adjust to the full screen.

Troubleshooting Routes

  • :white_check_mark: Checked device orientation settings in UIDevice.current.orientation.
  • :white_check_mark: Attempted to manually update UIView frame using UIScreen.main.bounds.
  • :white_check_mark: Used CGAffineTransform(rotationAngle:) to swap width and height (didn’t work).
  • :white_check_mark: Tried enabling landscape mode in Info.plist and programmatically (still no solution).

Additional Context

Any help would be greatly appreciated. Thank you! :blush:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.