Description
I’m using the custom meeting UI and created a new UIViewController
to be presented. When that new controller is dismissed, the onMyVideoStateChange
callback is not triggered anymore (when the user taps the video button) and thus the video icon and the user thumbnail doesn’t change.
SDK Version
v5.0.24433.0616
To Reproduce
Steps to reproduce the behavior:
- Create a new
UIViewController
- Present it on top of the topViewController (with
.present
method):let nav = UINavigationController.init(rootViewController: self) // self because it's a method inside the created view controller nav.modalPresentationStyle = .fullScreen topViewController.present(nav, animated: true)
- Create a method to dismiss this view controller:
dismiss(animated: true)
- Now, enter the room
- Tap the video button: it’s working
- Enter that newly created view controller
- Dismiss (go back)
- Tap the video button: it’s not working anymore
Screenshots
-
When user tapped the video button, before entering the new view controller:
-
When user tapped the video button, after dismissing the new view controller:
Smartphone
- Device: iPhone 5s
- OS: iOS 12.4.8