passing pipeline to GstRTSPMediaFactory
wim.taymans at gmail.com
Mon Feb 21 11:07:25 PST 2011
On 02/21/2011 07:49 PM, Tristan Matthews wrote:
> I've been experimenting with gstrtspserver in this repo:
> 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.
> 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
More information about the gstreamer-devel