Is there any way to make chrome support VP9 and H.265(HEVC) on WebRTC?

Cooky Shi picture Cooky Shi · Jul 6, 2015 · Viewed 7.2k times · Source

I'm new to WebRTC. As VP9 can decrease the bandwidth, but I don't see any options to choose VP9 with the recent release Chrome 43.0 during a WebRTC session on Windows. The SDP video options don't include VP9 at all. Could someone show me how to enable VP9 for WebRTC? A lot of articles indicate VP9 has been ready.

Another question, is there a way to add H.265 encoder/decoder to the system and let WebRTC stack of Chrome be aware of it?

Answer

wontonsoup picture wontonsoup · Jul 7, 2015

You can enable Chrome for VP9 by passing the flag,

--enable-webrtc-vp9-support

To enable flags on Windows,

  1. Right click on Chrome
  2. Select "Properties"
  3. At the end of the target line, add the above flag, so it will be running like, chrome.exe --enable-webrtc-vp9-support

As far as I know, the HEVC/H.265 RTP payload packetization/parsing is not implemented yet for WebRTC.