I’m using the update permission feature to manage ...
# sdk-web
p
I’m using the update permission feature to manage subscribe permissions for a waiting room. However, when I update these permissions, participants only receive the tracks after the publisher takes an action, such as publishing their microphone, instead of receiving them immediately. Do you have any advice on how to make this work instantly?
I found the issue with the tracks not updating immediately. The problem is that
useTracks
was configured to update only on
RoomEvent.ActiveSpeakersChanged
. That event only triggers when the active speaker changes, so it doesn’t detect changes in participant permissions. The correct event to use is
RoomEvent.ParticipantPermissionsChanged