As per docs, join method doesn’t have a parameter to specify host. How can we specify that a user is host while joining the session?
bekit
(Brint E. Kriebel)
April 30, 2021, 6:18pm
2
Unfortunately, you have to manage that yourself and there isn’t really any security around it. Here’s what I came up with, posted in response to another question:
In my experience, the first user to join the topic is automatically created as the host. That host can then pass the host status off to another account. In my implementation I added a check that fired any time a new user joined that is essentially “Am I the host and is the user joining supposed to be the host instead? If so, give them the host status”. It’s not ideal because the person who first join will have host powers up until the person who should be host joins. There may be a better solution to this, but I haven’t found it.
tommy
(Tommy Gaessler)
May 3, 2021, 4:31pm
3
Thanks for sharing your solution @bekit !
@rinurinshac , please let us know if you have any additional questions.
-Tommy
Gdrum
(Gus)
May 7, 2021, 10:34am
4
Is that the case everyone who joins is a host? How does zoom
Recommend you designate participants. Is there a plan and timing to change this?
tommy
(Tommy Gaessler)
May 10, 2021, 3:57pm
5
Hey @Gdrum ,
Checkout our docs that walk through Host / Managers / Participant roles in the Video SDK here:
Thanks,
Tommy