RTSP Server from a manually created and linked pipeline

Dmitry Valento va.dimon at tut.by
Fri Oct 28 14:12:00 UTC 2016


It should look like this (mandatory instructions):


static GstRTSPMedia 
*rtsp_media_factory_shared_construct(GstRTSPMediaFactory *factory, const 
GstRTSPUrl *url)
{

  GstRTSPMedia *media = g_object_new(GST_TYPE_RTSP_MEDIA, "element", 
your_bin, NULL);

  gst_rtsp_media_collect_streams (media);

  gst_rtsp_media_take_pipeline(media, GST_PIPELINE_CAST(your_pipeline));

  return media;

}


On 10/28/2016 04:55 PM, bomba wrote:
> Hi Dimitri!
>
> How did you do that?
>
> default_construct (GstRTSPMediaFactory * factory, const GstRTSPUrl * url)
> {
> }
>
> to
>
> default_construct (GstRTSPMediaFactory * factory, GstElement * pipeline)
> {
> }
>
> ?
>
>
>
> --
> View this message in context: http://gstreamer-devel.966125.n4.nabble.com/RTSP-Server-from-a-manually-created-and-linked-pipeline-tp4680305p4680307.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel



More information about the gstreamer-devel mailing list