- From: henbos via GitHub <sysbot+gh@w3.org>
- Date: Wed, 08 Feb 2017 10:33:37 +0000
- To: public-webrtc-logs@w3.org
Yes, you can calculate average encode time yourself using `totalEncodingTime` and `framesEncoded`. Hang on, should `totalEncodingTime` belong to `RTCOutboundRTPStreamStats` (where `framesEncoded` lives) and not `RTCMediaStreamTrackStats`? I think so. Whenever the answer to the question "is there encoding going on at this moment?" is yes the `totalEncodingTime` should be increasing with time passing. You resume the clock when the pipeline hands over an image buffer to the encoder and you pause the clock when the encoder hands over the encoded data to the rest of the pipeline. -- GitHub Notification of comment by henbos Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/150#issuecomment-278291165 using your GitHub account
Received on Wednesday, 8 February 2017 10:33:44 UTC