mirror of
https://github.com/livekit/livekit.git
synced 2026-07-13 05:09:14 +00:00
short circuit participant broadcast filter in livestream mode (#3955)
This commit is contained in:
+3
-3
@@ -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())
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user