How to set codec preferences in webrtcbin?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

How to set codec preferences in webrtcbin?

Dmitriy Shinkarev
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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: How to set codec preferences in webrtcbin?

Toshick
Hello.

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,
Anton.

On Tue, Aug 4, 2020 at 8:18 PM pushforce <[hidden email]> 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
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel