Skip to content

Commit

Permalink
fix: Do not drop stats when routeLoudestOnly is disabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
bgrozev committed Sep 27, 2023
1 parent a943078 commit 7843200
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jvb/src/main/java/org/jitsi/videobridge/Conference.java
Original file line number Diff line number Diff line change
Expand Up @@ -1138,7 +1138,9 @@ public boolean isRankedSpeaker(AbstractEndpoint ep)
{
if (!LoudestConfig.Companion.getRouteLoudestOnly())
{
return false;
// When "route loudest only" is disabled all speakers should be considered "ranked" (we forward all audio
// and stats).
return true;
}
return speechActivity.isAmongLoudest(ep.getId());
}
Expand Down

0 comments on commit 7843200

Please sign in to comment.