[webrtc-stats] Add hugeFramesSent counter to RTCVideoSenderStats dictionary

ilyanikolaevskiy has just created a new issue for https://github.com/w3c/webrtc-stats:

== Add hugeFramesSent counter to RTCVideoSenderStats dictionary ==
Please add a hugeFramesSent counter to RTCVideoSenderStats dictionary.

This should report the total number of "huge" frames sent since the beginning of the call.
A frame is defined as "huge" if it's encoded size is at least 2.5 times the average encoded frame size for the configured encoder bitrate. In the simulcast case, if any of the substreams produced a "huge" frame, this should be counted as a single "huge" frame sent.

This metric is useful for in case of screensharing a presentation for detecting slide changes.

Without such a metric, only way to do so would be to compare uncompressed captured frames, which is slow and may not even be possible. On the other hand, this metric is fairly easy to implement inside the webrtc. Although it may not be 100% accurate, for detecting the slide changes, it's reasonably efficient.

Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/330 using your GitHub account

Received on Friday, 16 February 2018 13:10:46 UTC