forked from livekit/livekit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Send permissions update on subscribe. (livekit#805)
* Send permissions update on subscribe. The permission `allowed` update was happening only when processing pending subscriptions (which happens only on subscription permissions update). It is possible that subscription happens through other paths (like subscribing new participant to tracks). In that path, we were checking if the track has permissions and adding to pending. But, we were not checking if the track is in pending and if it is in there, removing in on successful subscription and sending an update. Fix that. * log more fields in error
- Loading branch information
Showing
1 changed file
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters