Closed Bug 1651757 Opened 4 years ago Closed 4 years ago

Frame rate stats should update dynamically in about:webrtc

Categories

(Core :: WebRTC, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: dminor, Assigned: dminor)

References

(Blocks 1 open bug, Regressed 1 open bug)

Details

Attachments

(1 file)

At the moment, it's necessary to refresh the page to get updated stats, which is not ideal.

This adds an interval timer that periodically requests stats and updates
the values in frame rate table. The tables are given an id that matches
the report's pcid. This is necessary to disambiguate the tables if
multiple peerconnections are present.

This also changes the tables to use a monospace font. I think this is
easier to read anyway, and it reduces the amount of column movement when
tables are layed out again after the values change.

I've tested the same approach to make the ICE and RTP stats update dynamically and it is working well. I'll post those changes to a follow up bug once this has been reviewed and any issues sorted out.

See Also: → 976669
Pushed by dminor@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/68b50e39d159 Update frame rate stats dynamically on about:webrtc; r=ng
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
Regressions: 1658545
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: