W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > October 2018

Re: [webrtc-stats] Interframe delay stat for video receive stream.

From: ilnik via GitHub <sysbot+gh@w3.org>
Date: Tue, 16 Oct 2018 10:11:26 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-430181418-1539684685-sysbot+gh@w3.org>
@venkatesh-kuppan WebRTC can detect any delay. It's just that it returns the maximum interframe delay observed for the last 1 second. The intended use is to call GetStats every second to check if there were any freezes after the last call.. 

You can call GetStats() as often as you want, so you will detect freezes of any size. But the downside is that if the freeze happened, it will affect the results for the whole next 1 second. So you can't distinguish between one single freeze or many freezes happened within 1 second.

This is because it's hard to get per-frame callback in JS. 

If you are not using webrtc within browser, I would suggest you to calculate inter-frame delay yourself for each received frame.

-- 
GitHub Notification of comment by ilyanikolaevskiy
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/issues/229#issuecomment-430181418 using your GitHub account
Received on Tuesday, 16 October 2018 10:11:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:07 UTC