[gst-rtsp-server] using an external pipeline

Dušan Poizl poizl at maindata.sk
Thu Jul 31 00:59:19 PDT 2014


I have same issue. I am considering utilize intervideosrc and
intervideosink to keep pipelines separate.

Dňa 30.07.2014 o 22:03 Amaury Denoyelle napísal(a):
> Le 29/07/2014 14:43, amaury.denoyelle at gmail.com a écrit :
>> Hi everybody,
>>
>> I'm currently using gst-rtsp-server 0.10 for a video project. I want to build a pipeline in C code, and then reusing it for rtsp-server.
>> I have subclass GstRTSPMediaFactory to provide my own pipeline, and it works well for one client. But when my client disconnects from the server, and then try to reconnect, the pipeline is not working anymore. It seems that GstRTSPMedia is taking full control over my pipeline, setting it to GST_STATE_NULL when there is no more client.
>>
>> In my custom factory, I override get_element function member. I also provide my own configure method, to mark media as shared.
>>
>> I also try to change shared media attribute, but still no working... Does a better way to achieve my goal exists? If I can still keep control over my pipeline, letting it in GST_STATE_PLAYING even if there is no client, it would be very cool for me :)
>>
>> I hope I was clear enough in my explanations,
>>
>> Thanks for your time and your support,
>>
>> Amaury
>>
> Ok, so it seems in 0.10.8 version of gst-rtsp-server, I have some problems with "reuse" flag for pipeline. This is not a problem for me, so I stick with version 1.4.
> The only remaining problem is the pipeline control. I want to let the pipeline in PLAYING state even when there is no client (I also record some video frame in file in same pipeline). Is there a way to keep control on pipeline state, and discard PLAY/STOP command from GstRTSPClient (handle_play_request / handle_teardown)?
>
> Amaury
> _______________________________________________
> 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