H264 to WebRTC

Pascal Jacquemart pascal at fluffyspider.com.au
Fri Sep 13 22:56:38 UTC 2019


Yes there are few things to be aware of:
- gstwebrtcbin was introduced in 1.14. I am not surprise if you still have an older version.
- Yes you can add an audio path but we will probably need to re-encode the audio. See https://github.com/centricular/gstwebrtc-demos
- You cannot use a static pipeline to use the webrtcbin because you need to plug a custom signalling. So you have to write code and you cannot use gst-launch directly.

Cheers,       Pascal

> On 13 Sep 2019, at 21:41, Simon Brown <simon.k.brown at gmail.com> wrote:
> 
>> On Thu, 12 Sep 2019 at 02:19, Pascal Jacquemart <pascal at fluffyspider.com> wrote:
> 
>> 
>> Hi Simon,
>> 
>> I think it depends on the H264 profile but it should be possible.
>> You should be able to use something like 
>> 
>> filesrc location=video.ts ! tsdemux ! rtph264pay !
>> application/x-rtp,media=video,encoding-name=H264,payload=96 ! webrtcbin
>> 
>> Cheers,        Pascal
>> 
>> 
> Thanks Pascal,
> I'm trying this now on an Ubuntu system, and two things spring to light:
> 1) webrtcbin isn't available - it looks like this is available from source for gstreamer bad plugins, but not from install of the bad plugins?  
> 2) It looks like it's only doing the video - is there a secondary path that I can send the audio on?
> 
> Cheers,
> Simon
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20190914/566f8d5f/attachment.html>


More information about the gstreamer-devel mailing list