WebRTC Chrome 48 VP9 preference

General Tech Bugs & Fixes 2 years ago

1 2 0 0 0 tuteeHUB earn credit +10 pts

5 Star Rating 1 Rating

Posted on 30 Aug 2022, this text provides information on Bugs & Fixes related to General Tech. Please note that while accuracy is prioritized, the data presented might not be entirely correct or up-to-date. This information is offered for general knowledge and informational purposes only, and should not be considered as a substitute for professional advice.

Take Quiz To Earn Credits!

Turn Your Knowledge into Earnings.

tuteehub_quiz

Answers (2)

Post Answer
profilepic.png
manpreet Tuteehub forum best answer Best Answer 2 years ago

I wish to test VP9 as I understand it is now optional on Chrome 48.

What I have read so far, while inconsistent, seems to imply:

  • no flag is needed anymore
  • default is to VP8
  • to prefer VP9 over VP8, the video codec list in the SDP sent with offer must be reordered to position VP9 as the first entry in the m record

If this is correct can someone please advise how to edit and then read to verify the SDP to achieve this reordering (i.e. VP9 first in the list)?

1 views
0 shares

profilepic.png
manpreet 2 years ago

After some reading and experimentation I was able to edit the SDP m.tuteehub.com/tag/video">video codec preferred list by reordering the m= m.tuteehub.com/tag/video">video entry from a list that begins "100 101" to "101 100" using javascript replace - sdp.replace(/SAVPF 100 101/g, "SAVPF 101 100"); - I then verified that VP9 was active with webrtc internals and also that the visual results were m.tuteehub.com/tag/good">good - the only downside is that cpu utilization increases about 30% so make sure you have the headroom to avoid heat buildup


1 views   0 shares

No matter what stage you're at in your education or career, TuteeHub will help you reach the next level that you're aiming for. Simply,Choose a subject/topic and get started in self-paced practice sessions to improve your knowledge and scores.