Closed Bug 1654876 Opened 6 years ago Closed 4 months ago

WebRTC RtpInboundRtpStreamStats fields missing

Categories

(Core :: WebRTC, enhancement)

80 Branch
enhancement

Tracking

()

RESOLVED INCOMPLETE

People

(Reporter: justin, Unassigned)

Details

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36

Steps to reproduce:

Run https://webrtc.github.io/samples/src/content/peerconnection/pc1/ in Firefox.

Then do pc2.getStats().then(stats => stats.forEach(item => console.log(item))) in the JS console.

Actual results:

Observe output similar to { id: "5b6ba3c7", timestamp: 1595529829865, type: "inbound-rtp", kind: "video", mediaType: "video", ssrc: 1924989198, discardedPackets: 0, jitter: 0.003, packetsLost: 0, packetsReceived: 7988, … }.

Note the absence of many fields from https://www.w3.org/TR/webrtc-stats/#dom-rtcinboundrtpstreamstats, including |framesReceived|, |framesDecoded|, |totalSamplesReceived|, |concealedSamples|, |trackId|, and others. These fields are important for analyzing received media quality.

Expected results:

The aforementioned fields should have appeared in the inbound-rtp stats object.

Bugbug thinks this bug should belong to this component, but please revert this change in case of error.

Component: Untriaged → WebRTC
Product: Firefox → Core
Flags: needinfo?(mfroman)

Most of these are already fixed, see here

Status: UNCONFIRMED → RESOLVED
Closed: 4 months ago
Flags: needinfo?(mfroman)
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.