Using C-API based pipelines in RTSP server (without "launch" arg)

Sebastian Dröge sebastian at centricular.com
Mon Oct 24 07:12:20 UTC 2016


On Thu, 2016-10-20 at 13:19 +0300, Dmitry Valento wrote:
> Hello!
> 
> I want to create a RTSP server, which will provide several different 
> multicast streams. These streams are based on pipelines, which
> created 
> using C API (gst_element_factory_make, gst_bin_add_many, 
> gst_element_link_many, g_object_set).
> Therefore the method " gst_rtsp_media_factory_set_launch" couldn't be
> used.
> 
> Could you please give me a list of steps, which I have to implement
> for  use C-API based pipelines in RTSP server?

You have to implement a subclass of GstRTSPMediaFactory and override
the create_element() vfunc... from which you return a GstBin that
contains your elements. The payloaders must be called pay%d, e.g. pay0,
pay1, etc.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 931 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161024/a989e75f/attachment.sig>


More information about the gstreamer-devel mailing list