VideoAspect doesn't work on iOS

Description
I’m working on app with Zoom Video SDK on Android and iOS both platforms.

on Android

val canvas = sdkUser.videoCanvas
canvas.subscribe(view, ZoomInstantSDKVideoAspect.ZoomInstantSDKVideoAspect_PanAndScan)

on iOS

if let canvas = sdkUser.getVideoCanvas() {
  canvas.subscribe(with: view, andAspectMode: .panAndScan)
}

My app creates square views with pan_and_scans option for rendering.

On Android, above code works well.

On iOS, self camera image works as intended.
But remote image from Android is displayed as letter_box.

You can reproduce this issue on Zoom Renderer mode with Sample App of Zoom Video SDK.

I know it works with Metal or GL renderers, but I’d rather avoid porting them in my app if possible.

Please fix this issue.

Which Mobile Video SDK version?
iOS Video SDK 1.0.2

To Reproduce(If applicable)
Steps to reproduce the behavior:

  1. Setup Sample Apps of Zoom Video SDK.
  2. Create session and login with iOS and Android.
  3. Both device set as portrait.
  4. See tumbnail views. On iOS, you can see letter box on square thumbnail image.

Screenshots

see Pixel 3a’s thumbnail. it’s letter-boxed.

Smartphone (please complete the following information):

  • Device: iPhone X
  • OS: iOS 14.6

Hey @Jiro,

Thanks for using the dev forum!

The sample iOS application sets those example views to letterbox by default. If you tap on the views at the bottom, you will see them change to pan and scan.

Thanks!
Michael