How I can use decodebin with rtspServer

Jordi Alcaine jordi.alcaine at gmail.com
Mon Apr 19 21:08:03 UTC 2021


I'm implementing an RTSP server using as source dmsssrc library. This
library is for connect dahua cameras.

In the gst_rtsp_media_factory_set_launch I need to use  decodebin element

gst_rtsp_media_factory_set_launch(factory, "( "
        "dmsssrc host = XXXX port=37777 user=XXX password=YYY channel=0
subchannel=1 ! dmssdemux ! queue !  decodebin ! x264enc ! rtph264pay
name=pay0 pt=96 )");

My problem it´s I can`t  use decodebin from launch because use  sometime
pads. In another program I'm solved this problem waiting for pads creating
using  g_signal_connect  "pad-added".

Is It possible to create the pipeline and then assign to rtsp server
without use  gst_rtsp_media_factory_set_launch ? Exist another solution?

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20210419/976b250e/attachment.htm>


More information about the gstreamer-devel mailing list