[gst-rtsp-server] using an external pipeline

amaury.denoyelle at gmail.com amaury.denoyelle at gmail.com
Tue Jul 29 05:43:45 PDT 2014


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


More information about the gstreamer-devel mailing list