make IsDependent backwards compatible (#2627)

This commit is contained in:
David Colburn authored and GitHub committed 2024-04-05 14:24:34 -07:00
1 parent fff937a89c
commit 4603b5c053
1 file changed
+1 -1
+1 -1
View File
@@ -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
}
}