make IsDependent backwards compatible (#2627)
This commit is contained in:
@@ -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