From 700e1788f260ce51905cf7b160882c088dc9ec96 Mon Sep 17 00:00:00 2001 From: Paul Wells Date: Mon, 26 Jan 2026 14:22:30 -0800 Subject: [PATCH] require participant broadcast when metadata/attributes are set in token (#4266) --- pkg/rtc/participant.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/rtc/participant.go b/pkg/rtc/participant.go index 950b14a96..30d300d62 100644 --- a/pkg/rtc/participant.go +++ b/pkg/rtc/participant.go @@ -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()