Implements protocol 3 speaker updates (#120)

* Disallow AddTrack from participants that don't have the permission

* Support protocol 3 speaker updates, client info

* update protocol

* Disallow AddTrack from participants that don't have the permission

* increase wait time for GH to pass
This commit is contained in:
David Zhao
2021-09-17 11:47:13 -07:00
committed by GitHub
parent abde72a907
commit ff47301820
12 changed files with 192 additions and 139 deletions
+7 -7
View File
@@ -25,13 +25,13 @@ type MessageSource interface {
}
type ParticipantInit struct {
Identity string
Metadata string
Reconnect bool
Permission *livekit.ParticipantPermission
ProtocolVersion int32
AutoSubscribe bool
Hidden bool
Identity string
Metadata string
Reconnect bool
Permission *livekit.ParticipantPermission
AutoSubscribe bool
Hidden bool
Client *livekit.ClientInfo
}
type NewParticipantCallback func(ctx context.Context, roomName string, pi ParticipantInit, requestSource MessageSource, responseSink MessageSink)