The iOS SDK can create and manage breakout rooms in a similar manner to the Zoom client. This means that it largely follows the same flow that is outlined in our documentation. It looks like you are trying to start breakout rooms without having created any. You can create rooms through the createBO method.
It is also worth noting that you need to receive a callback before you can interact with the breakout-related objects. For example, if you haven’t received the onHasCreatorRightsNotification callback, you will not be able to create breakout rooms.
If it is follow the same flow of the Zoom client, I should create the BO room, then do I need to assign host to rhe BO room or it should start the BO room first then assign the participants.
About the callback function, should I just create it in my mainviewcontroller and leave it empty?
If it is follow the same flow of the Zoom client, I should create the BO room, then do I need to assign host to rhe BO room or it should start the BO room first then assign the participants.
The host can join breakout rooms, so you don’t need to assign yourself. You can assign users to breakout rooms both before and after they are started.
About the callback function, should I just create it in my mainviewcontroller and leave it empty?
How and where you implement this callback depends on your use case. You should use this callback to know when the current user has access to specific areas of breakout-related functionality. What you do from that point onward is entirely dependent on your use case.
Thank you for your reply, I think I have some progress about this, after I turn on the Breakout room setting in the web protal I can create BO room now, but I cant add and start the BO meeting
Thanks for confirming. At what point are you setting the delegate? It is also possible that it is being set after you gained those privileges, in which case you also would not be able to receive the callback.
I don’t know if this will be helpful, but if you don’t assign the user to BO before calling StartBo, StartBO should fail.
Create the BO first, assign the user to the BO, then do StartBO in that order.
Her is my code. I tried your way. First of all, I called isBOMeetingEnabled, and it returned “YES”.
And console showed the BO meeting room ID, I believed that the creation of BO is succeed, but the assignBOUser and ret( canStartBO) are always return “Fail”. I ignored the “Fail” form previous step call the startBO, It failed as expected.
So I guess my step should be right (1. create BO 2. assign use to BO 3. StartBO). It should have other issues on it.
@jon.lieblich
I am sure that the account using is the Host. I also tried start a BO meeting by using Zoom client, and use the to join the meeitng, then assign the host to the app user, and tried as same as I mention above. The BO meeting still cant start.
What I had been tried:
Start with my app using Host user
Start with Zoom Client, and assign host (Zoom client can open BO meeting).
I checked the web portal, I oepn the right of start BO meeting.
It looks like you are immediately assigning users to breakout rooms after creating them. Since managing breakout rooms involves asynchronous operations, you will need to receive the onBOCreateSuccess callback for a given breakout room before it is available to assign users. Can you confirm whether or not you are seeing this callback before assigning users?
Thank you for suggestion. My App is based on the Zoom SDK demo App. I called the startBO, createBO and other related method in the MainViewController.m
When I added the “MobileRTCBOCreatorDelegate” or another delegate in MainViewController.m Xcode suggested creating some related callback, but the App will call the callback function in the file I mentioned above. It is unnormal to me. I think this might be the reason why I can’t start the BO meeting.
Although the callback function was called successfully, the startBO still failed. I am working on the asynchronous operation, hope it will work.
Are you calling startBOafter receiving the onBOCreateSuccess callback? It doesn’t look like you have implemented any state management within your app, so it doesn’t seem like you have any way of guaranteeing that the order of operations will be correct.
But First, I want to figure out why the callback method doesn’t work on the MainViewController.m, called on the file instead.
It sounds like you may be trying to set two different delegates. Since this is a property, only one delegate instance can be passed into the SDK.
I added “dispatch_async” trying to wait to the createBO was created successfully. But I still return the same result as above.
Sorry, but I am still not seeing any evidence that you are ensuring the callback was received prior to making this call. This would require a minimal amount of state management in your app.