W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > June 2022

Re: [webrtc-stats] add stats about Detect CPU/GPU overuse on receiving(decoding) side (#645)

From: byterldp via GitHub <sysbot+gh@w3.org>
Date: Tue, 21 Jun 2022 04:03:38 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-1161234742-1655784217-sysbot+gh@w3.org>
> +1 to what fippo said. To elaborate a bit:
> For general CPU metrics I think that is a question outside of the WebRTC statistics API, since that has applications that reach far outside of WebRTC.
> The internal "CPU overuse detection" in WebRTC, which is used to automatically decrease resolution (or frame rate depending on degradationPreference), is actually based on the ratio of time it takes to encode versus time in-between frames. So you should be able to achieve something very similar for the decode side based on totalDecodeTime and framesDecoded. That's probably your best bet for interop too and considering asking the SFU to send smaller streams is an application level decision I think letting the application handle all "decode overuse" logic makes the most sense and AFAIK the relevant metrics already exist. Or is something else missing that is specific to WebRTC?

Agree with you, its ok for application level decide overuse by calc average DecodeTime, thanks. 

GitHub Notification of comment by byterldp
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/645#issuecomment-1161234742 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 21 June 2022 04:03:40 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 6 May 2023 21:19:57 UTC