W3C home > Mailing lists > Public > public-webrtc@w3.org > February 2017

[webrtc-stats] Stat for how much time it takes to encode video

From: henbos via GitHub <sysbot+gh@w3.org>
Date: Wed, 01 Feb 2017 09:51:14 +0000
To: public-webrtc@w3.org
Message-ID: <issues.opened-204538364-1485942672-sysbot+gh@w3.org>
henbos has just created a new issue for 
https://github.com/w3c/webrtc-stats:

== Stat for how much time it takes to encode video ==
The non-standardized Chromium getStats contains the following stats:
```
// The average encode time in ms (video).
ssrc.googAvgEncodeMs

ssrc.googEncodeUsagePercent
```
These can be used to estimate "how fast the fan is spinning" and be 
used as an indicator that you might want to to lower capture 
resolution.

Is this useful? Should we standardize it or something similar?
Averages are discouraged, and time is typically expressed as double 
seconds. How about a `double totalEncodingTime` in 
RTCMediaStreamTrackStats that is the total time, in seconds, that has 
been spent on encoding video for that track?

Please view or discuss this issue at 
https://github.com/w3c/webrtc-stats/issues/150 using your GitHub 
account
Received on Wednesday, 1 February 2017 09:51:20 UTC

This archive was generated by hypermail 2.3.1 : Monday, 23 October 2017 15:19:50 UTC