Monitor WebRTC video (media) stream quality in Javascript - Stack Overflow

I'm using WebRTC to stream video between peers, but changes in network conditions for some clients

I'm using WebRTC to stream video between peers, but changes in network conditions for some clients often produce quality changes in the received video stream. People blame the service for these quality drops and clearly I (the service) cannot do anything about their network conditions. But showing an indication that the quality dropped due to network conditions on the client's end would most likely alleviate this problem.

I've been searching Google & Stackoverflow for a while now and haven't seen any questions related to quality detection of ining audio or video stream. Is there a way to monitor the quality (current bitrate or dropped frames, anything) during the live stream?

I'm using WebRTC to stream video between peers, but changes in network conditions for some clients often produce quality changes in the received video stream. People blame the service for these quality drops and clearly I (the service) cannot do anything about their network conditions. But showing an indication that the quality dropped due to network conditions on the client's end would most likely alleviate this problem.

I've been searching Google & Stackoverflow for a while now and haven't seen any questions related to quality detection of ining audio or video stream. Is there a way to monitor the quality (current bitrate or dropped frames, anything) during the live stream?

Share Improve this question asked Jul 30, 2014 at 11:17 Mark TolmacsMark Tolmacs 3673 silver badges8 bronze badges 1
  • 1 If they are using Chrome, you can use chrome://webrtc-internals/. I answered a similar question on how to read the data dump you grab from there. – Benjamin Trent Commented Jul 30, 2014 at 12:53
Add a ment  | 

2 Answers 2

Reset to default 4

The getStats() API is what you are looking for if you want to programmatically access information in real time. webrtc-internals is a separate webpage, that is providing you more informations than getstats because it has access to chrome internals, but eventually most of those info will be made available to getstats so people can have access to them from within their app.

You can use webrtc-issue-detector to monitor the quality of webrtc session on the client side. It uses getStats() under the hood and identifies issues that may affect media quality like client CPU issues, network or server side issues.

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1742323752a4422332.html

相关推荐

  • Monitor WebRTC video (media) stream quality in Javascript - Stack Overflow

    I'm using WebRTC to stream video between peers, but changes in network conditions for some clients

    13小时前
    30

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信