webrtcvp8vp9

Change video codec from VP8 to VP9 with native webRTC


I'm trying to figure out how to change the video codec on webRTC from vp8 to vp9, and do not find a suiting answer to this anywhere. May someone lead/show me how its done? Thanks


Solution

  • I think you would need to munge SDP to make it happen. To my understanding the idea is that the endpoints negotiate the best possible codecs to be used.

    The VP9 release news has some hints on how to change the preferred codec from VP8 to VP9 https://developers.google.com/web/updates/2016/01/vp9-webrtc?hl=en.