5

Is there a way to set higher priority to Audio over video in WebRTC?

I am working on Cordova based mobile App and it uses Chrome Web View. My requirement is that Audio quality should not degrade in case of low bandwidth. Currently, I observed that Video and Audio both freezes or sometimes audio is not played at receiver side when running on low bandwidth.

I found this question but no solution provided there.

I also found a "priority" param in RTCRtpSender. But not sure about it.

I also found a long discussion about QoS priority here but I am still out of solution.

pgcan
  • 1,199
  • 14
  • 24
  • Hi, did you found the solution? If so, it will be great to post self answer :) I'm facing with the same trouble. – user1802474 Dec 05 '19 at 08:13
  • Hi @user1802474, unfortunately I couldn't get any solution yet. – pgcan Dec 05 '19 at 09:27
  • One possible solution I'm thinking about - is to take manual control over it. When bandwith becomes low (determine it by RTCstats) we should manually degrade video quality by resolution or fps constraints. – user1802474 Dec 07 '19 at 20:01
  • @user1802474, looks like a good idea. Let me know if you get any success. I will try my side asap. – pgcan Dec 15 '19 at 14:51

0 Answers0