mirror of
https://github.com/livekit/livekit.git
synced 2026-10-22 13:12:09 +00:00
require participant broadcast when metadata/attributes are set in token (#4266)
This commit is contained in:
1 parent
b61799ecd8
commit
700e1788f2
1 file changed
+1
@@ -368,6 +368,7 @@ func NewParticipant(params ParticipantParams) (*ParticipantImpl, error) {
|
||||
onClose: make(map[string]func(types.LocalParticipant)),
|
||||
telemetryGuard: &telemetry.ReferenceGuard{},
|
||||
nextSubscribedDataTrackHandle: uint16(rand.Intn(256)),
|
||||
requireBroadcast: params.Grants.Metadata != "" || len(params.Grants.Attributes) != 0,
|
||||
}
|
||||
p.setupSignalling()
|
||||
|
||||
|
||||
Reference in new issue
Block a user