From 4603b5c05363155a0c3960724bed282ff3ce7960 Mon Sep 17 00:00:00 2001 From: David Colburn Date: Fri, 5 Apr 2024 14:24:34 -0700 Subject: [PATCH] make IsDependent backwards compatible (#2627) --- pkg/rtc/participant.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/rtc/participant.go b/pkg/rtc/participant.go index 090930875..b74088629 100644 --- a/pkg/rtc/participant.go +++ b/pkg/rtc/participant.go @@ -340,7 +340,7 @@ func (p *ParticipantImpl) IsDependent() bool { case livekit.ParticipantInfo_AGENT, livekit.ParticipantInfo_EGRESS: return true default: - return false + return p.grants.Video.Agent || p.grants.Video.Recorder } }