Closed Bug 1742181 Opened 2 years ago Closed 2 years ago

Implement packetsDiscarded/discardedPackets for inbound-rtp

Categories

(Core :: WebRTC, task, P1)

task

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: pehrsons, Assigned: pehrsons)

References

(Blocks 3 open bugs)

Details

Attachments

(3 files)

Until bug 1654112 we supported discardedPackets for video inbound-rtp stats. Bring that back to avoid a regression in 96.

Upstream has with the new update implemented it for audio and removed it for video, and the spec has changed from discardedPackets to packetsDiscarded.

I aim to implement packetsDiscarded for audio and video, and bring back discardedPackets for video unless a stats peer thinks otherwise. There is bug 1335967 that has not landed..

Support for the bookkeeping of discarded packets will have to be added upstream. I plan to land locally first and do uplift later since we are on a schedule.

This also brings back discardedPackets for video, to avoid a regression.

Depends on D131708

Blocks: 1742604
Pushed by pehrsons@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/654bb10e1616
Cherry-pick libwebrtc patch for audio recv stat packetsDiscarded. r=ng
https://hg.mozilla.org/integration/autoland/rev/d0196a45a1f4
libwebrtc: Implement packetsDiscarded bookkeeping for received video. r=ng
https://hg.mozilla.org/integration/autoland/rev/a689bb41ea69
Pipe through the packetsDiscarded stat for inbound-rtp. r=ng,jib
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
Blocks: 1742765
Blocks: 1748478
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: