mirror of
https://github.com/livekit/livekit.git
synced 2026-04-25 09:02:11 +00:00
fix publisher frame count reporting for simulcast streams (#4457)
This commit is contained in:
@@ -348,7 +348,9 @@ func CondenseStat(stat *livekit.AnalyticsStat) (ps CondensedStat, ok bool) {
|
||||
ps.Bytes += stream.PrimaryBytes
|
||||
ps.Packets += stream.PrimaryPackets
|
||||
ps.PacketsLost += stream.PacketsLost
|
||||
ps.Frames += stream.Frames
|
||||
if stream.Frames > ps.Frames {
|
||||
ps.Frames = stream.Frames
|
||||
}
|
||||
}
|
||||
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user