Description
Hello, I am using the mas OS SDK to change the UI while in a meeting. It used to work earlier but now, I am getting ZoomSDKError(rawValue: 4) on calling these functions.
Here is the UI for buttons, I added the function call for each button for your info.
These are the function calls for each,
1. sdk.getMeetingService()?.getMeetingUIController()?.switchFloatVideoToMinimizeMode()
2. sdk.getMeetingService()?.getMeetingUIController()?.switchFloatVideoToActiveSpeakerMode()
3. sdk.getMeetingService()?.getMeetingActionController()?.swap(toShowShareViewOrVideo: true)
4. sdk.getMeetingService()?.getMeetingUIController()?.switchFloatVideoToGalleryMode()
5. sdk.getMeetingService()?.getMeetingUIController()?.enterFullScreen(true, firstMonitor: true, dualMonitor: false)
6. sdk.getMeetingService()?.getMeetingUIController()?.showPreOrNextPageWallView(false)
7. sdk.getMeetingService()?.getMeetingUIController()?.showPreOrNextPageWallView(true)
8. switchToVideoWallView & switchToActiveSpeakerView based on UI
I am using a meeting that is not created by me (I am not a host) with 7 participants for testing these functions.
Can you please review my code and let me know what can cause a ZoomSDKError 4 for this code.
Let me know if I need to consider other things while using these buttons, as I understood from the documentation these functions are not always available. Is there a way I can figure out when they are applicable for a meeting? It will help me in hide/show of buttons based on the meeting setting.
Which version?
5.2.42037.1112