[Webkit-unassigned] [Bug 212938] New: [WebRTC] Add new render stats: rtcvideoreceiverstats and frameRate
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Jun 8 16:27:06 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=212938
Bug ID: 212938
Summary: [WebRTC] Add new render stats: rtcvideoreceiverstats
and frameRate
Product: WebKit
Version: Safari 13
Hardware: iPhone / iPad
OS: iOS 13
Status: NEW
Severity: Major
Priority: P2
Component: WebRTC
Assignee: webkit-unassigned at lists.webkit.org
Reporter: charob at amazon.com
CC: youennf at gmail.com
Please refer to: https://w3c.github.io/webrtc-provisional-stats/#dom-rtcvideoreceiverstats
WebRTC can expose some video rendered statistics such as:
1- freezeCount:
Count the total number of video freezes experienced by this receiver. It is a freeze if frame duration, which is time interval between two consecutively rendered frames, is equal or exceeds Max(3 * avg_frame_duration_ms, avg_frame_duration_ms + 150), where avg_frame_duration_ms is linear average of durations of last 30 rendered frames.
2- pauseCount:
Count the total number of video pauses experienced by this receiver. Video is considered to be paused if time passed since last received packet exceeds 5 seconds.
3- totalFreezesDuration:
Total duration of rendered frames which are considered as frozen (for definition of freeze see freezeCount), in seconds. This value is updated when a frame is rendered.
4- totalPausesDuration:
Total duration of pauses (for definition of pause see pauseCount), in seconds. This value is updated when a frame is rendered.
5- totalFramesDuration:
Total duration of all rendered video frames, in seconds. This value is updated when a frame is rendered.
6- sumOfSquaredFramesDuration:
Sum of squared duration of all rendered frames. It can be used to calculate harmonic frame rate:
totalFramesDuration / sumOfSquaredFrameDurations
This value is updated when a frame is rendered.
And ultimately it would be optimal to have a frameRate stat available as well.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200608/1e659293/attachment.htm>
More information about the webkit-unassigned
mailing list