MobileRTCActiveVideoView(frame: videoView.bounds) returns nil

I have faced a critical issue with new SDK version - v4.6.21666.0428.

MobileRTCActiveVideoView constructor returns nil

it happened after I updated SDK to new version.
Could you give some advices or xcode configurations for solving this issue?

Which version?
Xcode Version : Version 11.5 (11E608c)

Zoom SDK

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

  1. call MobileRTCActiveVideoView constructor on viewDidLayoutSubviews OR viewDidLoad method


Smartphone (please complete the following information):

  • Device: iPhone 6 ( iPhone 7 is same )
  • OS: 12.4.6
  • Version

fixed by changing calling timing

Hi @gk12,

Thanks for the post and glad to hear that you have found the solution. Happy Zooming!