compressionwebrtccodeclosslessvp9

How to set-up WebRTC with VP9 codec and lossless compression


I have been trying to figure out whether or not it is possible to set up WebRTC with VP9 codec and lossless compression.

So far, I have been able to figure out, how to set VP9 in the SDP and also how to set the coding profile (0-3). However, my understanding is, that setting the encoder profile to index 3, does not have an impact on the compression.

I also looked at the RTP payload specification for VP9. However, the specification for the SDP parameters only show how to set the codec and the coding profile.

So my question is, is it at all possible to set up WebRTC with VP9 lossless compression? If so, where could I set it and does it have to be set in the SDP at all?


Solution

  • Is this using the browser WebRTC API? I don't believe this is possible.

    WebCodecs is a proposal to give users more control over things.

    You can use MediaRecorder today, and then send media over a different transport maybe? I don't believe you can choose lossless though.