mirror of
https://github.com/livekit/livekit.git
synced 2026-10-23 15:12:43 +00:00
make IsDependent backwards compatible (#2627)
This commit is contained in:
1 parent
fff937a89c
commit
4603b5c053
1 file changed
+1
-1
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user