Fix down stream packet loss reporting. (#3092)

* Fix down stream packet loss reporting.

* format
This commit is contained in:
Raja Subramanian
2024-10-14 11:08:10 +05:30
committed by GitHub
parent 2d6aa049c9
commit f154b236b5
3 changed files with 6 additions and 4 deletions
+2 -1
View File
@@ -881,8 +881,9 @@ func (r *RTPStatsSender) getSenderSnapshot(startTime time.Time, s *senderSnapsho
packetsDuplicate: r.packetsDuplicate,
bytesDuplicate: r.bytesDuplicate,
headerBytesDuplicate: r.headerBytesDuplicate,
packetsLostFeed: r.packetsLost,
packetsOutOfOrder: s.packetsOutOfOrder + s.intervalStats.packetsOutOfOrder,
packetsLostFeed: r.packetsLost,
packetsLost: r.packetsLostFromRR,
frames: s.frames + s.intervalStats.frames,
nacks: r.nacks,
plis: r.plis,