short circuit participant broadcast filter in livestream mode (#3955)

This commit is contained in:
Paul Wells
2025-09-25 16:19:35 -07:00
committed by GitHub
parent bfba6feed4
commit e180be0622
+3 -3
View File
@@ -2028,10 +2028,10 @@ func GetOtherParticipantInfo(
pInfos := make([]*livekit.ParticipantInfo, 0, len(allParticipants))
for _, op := range allParticipants {
if !op.Hidden() &&
if !(skipSubscriberBroadcast && op.CanSkipBroadcast()) &&
!op.Hidden() &&
op.Identity() != lpIdentity &&
!isMigratingIn &&
!(skipSubscriberBroadcast && op.CanSkipBroadcast()) {
!isMigratingIn {
pInfos = append(pInfos, op.ToProto())
}
}