How to set codec preferences in webrtcbin?

Anton Pryima zingfrid at
Tue Aug 4 19:59:14 UTC 2020


You just need to set cups on your receiving pipeline just before creating
an answer, or while creating a pipeline. If your pipeline will be capable
of VP8 only, it won't be any other streams in the SDP.

Best regards,

On Tue, Aug 4, 2020 at 8:18 PM pushforce <industrial.lang at> wrote:

> Hello.
> I want to receive h264 encoded video from browser in webrtcbin. Browser
> sends me offer with vp8, vp9, h264 variants, when i call create-answer
> it create sdp message with vp8 preference. Is there any way to set the
> desired codec before creating answer?
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the gstreamer-devel mailing list