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

@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