Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WebRTC: Notify user of quality issues due to network or CPU

As the title suggests, I'm looking for a way to notify users of a webrtc video conference that the quality issues they might be experiencing is due to either network bandwidth or CPU usage or else..

I'm aware of the WebRTC Stats API (getStats) but i'm just really not sure of a proper way of detecting issues. I see I can get access to the bitrate, packet loss, RTT but i'm not really sure of an algorithm to determine video quality based on those metrics.

I know webrtc automatically reduces the resolution based on bandwidth or cpu etc and thought detecting this might be a possibility? Any help is greatly appreciated!

like image 702
MeeKaaH Avatar asked Oct 18 '25 16:10

MeeKaaH


2 Answers

If you're ok with Chrome-proprietary statistics, googCpuLimitedResolution and googBandwidthLimitedResolution as described here might be useful.

like image 72
Philipp Hancke Avatar answered Oct 21 '25 04:10

Philipp Hancke


You can use webrtc-issue-detector on the client side to detect WebRTC call issues related with CPU performance, network stability and server issues. It is easy to integrate one with UI to show some alerts.

like image 34
JasonDesh Avatar answered Oct 21 '25 05:10

JasonDesh



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!