This message was deleted.
# helpdesk
s
This message was deleted.
g
during a time a participant is publishing to the room, give him the roomAdmin privilege which will make him a host, then make sure other participant (subscribers) does not have the canPublish, canPublishData privileges, so the Host can then be able to update the token access of the publishers (speakers)
b
Can you provide some code instructions on how to give participant the roomAdmin privilege in flutter?
g
To my best knowledge you need to give the roomAdmin privilege at the backend during time of Jwt Authentication, according to the documentation of Livekit. What backend language are you using???
b
Javascript with nodeJs framework
so before generating token we have to provide some sort of admin Privilege??
g
Yes provide it among the objects that will be tokenized
I advice you go through the documentation for a proper understanding
👍 1
b
okay
thankyou
g
You are welcome