I am working with React SDK,
when a user joins the meeting at that time, we want to assign moderator role, and based on that we wish to so toolbox buttons like chat, mute, screen share, etc
For example, If the user is not a moderator, we don’t want them to share a screen,
How can we assign moderator role with conjunction with our backend API business logic,
Another question,
Also when the moderator leaves, the moderator role is assigned to the next participant.
How can we stop doing that?