mirror of
https://github.com/livekit/livekit.git
synced 2026-07-28 12:09:26 +00:00
Clear flags in packet metadata cache before setting them. (#2160)
Not sure if this could have resulted in bad FPS calculation, but could have contributed to it.
This commit is contained in:
@@ -844,6 +844,7 @@ func (r *RTPStatsSender) setSnInfo(esn uint64, ehsn uint64, pktSize uint16, hdrS
|
||||
snInfo := &r.snInfos[slot]
|
||||
snInfo.pktSize = pktSize
|
||||
snInfo.hdrSize = hdrSize
|
||||
snInfo.flags = 0
|
||||
if marker {
|
||||
snInfo.flags |= snInfoFlagMarker
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user