feat: unpublish tracks after publish permissions are revoked. (#545)

* feat: unpublish tracks after publish permissions are revoked.

Uses protocol 7 to indicate client support, otherwise it attempts to
mute the tracks.

Also sends back permissions objects of all participants, and cleaned up
our handling of various permissions attributes.

* fix static check
This commit is contained in:
David Zhao
2022-03-21 00:20:48 -07:00
committed by GitHub
parent 82e1c391a4
commit 5920672802
22 changed files with 520 additions and 375 deletions
+2 -1
View File
@@ -13,7 +13,8 @@ require (
github.com/google/wire v0.5.0
github.com/gorilla/websocket v1.4.2
github.com/hashicorp/golang-lru v0.5.4
github.com/livekit/protocol v0.11.14
// TODO: replace with merged protocol version
github.com/livekit/protocol v0.11.15-0.20220320074808-41056286643d
github.com/mackerelio/go-osstat v0.2.1
github.com/magefile/mage v1.11.0
github.com/maxbrunsfeld/counterfeiter/v6 v6.3.0