I’m encountering a black screen issue during a video call when changing the aspect ratio from .panAndScan
to .original
using the following method:
canvas.subscribe(with: videoView, aspectMode: .original, andResolution: ._Auto)
After this call, the video view turns black. However, if I toggle back from .original
to .panAndScan
, the video renders properly again. This aspect ratio switching flow had been working fine for over a year until now.
I also tried switching aspect ratios using the following method:
let error = remoteVideoCanvas.setAspectMode(.original, to: videoView)
But there was no visible change in the aspect ratio on the view.
As a workaround, I attempted the following steps:
- Unsubscribed from the view:
canvas.unSubscribe(with: videoView)
- Subscribed again with
.original
:
canvas.subscribe(with: videoView, aspectMode: .original, andResolution: ._Auto)
This resolves the black screen issue, but introduces a minor blinking effect due to the unsubscribe()
being called first.
Could you please confirm if any changes related to aspect ratio handling were introduced in Zoom SDK version v2.1.10 that might be causing this behavior for .original aspect ratio?
CC: @richard.zoom