passing pipeline to GstRTSPMediaFactory

Wim Taymans wim.taymans at gmail.com
Mon Feb 21 11:07:25 PST 2011


On 02/21/2011 07:49 PM, Tristan Matthews wrote:
> Hello,
>
> I've been experimenting with gstrtspserver in this repo:
> https://github.com/tmatth/gst-prototypes/tree/master/gstrtspserver
>
> I was wondering how I could pass an existing pipeline
> (src->encoder->payloader) to the GstRTSPMediaFactory instead of using
> gst_rtsp_media_factory_set_launch. Should I subclass GstRTSPMediaFactory
> and add a gst_rtsp_media_factory_set_bin method?

You subclass GstRTSPMediaFactory and override the get_element method. 
Take a look at what the default implementation of that method does to 
get the idea.

Wim

>
> Best,
> Tristan
>
>
>
> --
> Tristan Matthews
> email: tristan at sat.qc.ca <mailto:tristan at sat.qc.ca>
> web: http://tristanswork.blogspot.com
>
>
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list