Re: Rtsp server don't stop pipeline on client disconnect

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Rtsp server don't stop pipeline on client disconnect

Mathieu Duponchelle
Hey, I think what you're looking for is setting the suspend mode[1], I haven't
ever really played with SUSPEND_MODE_NONE but that *should* give you the
desired behaviour.

[1]: https://gstreamer.freedesktop.org/documentation/gst-rtsp-server/rtsp-media-factory.html?gi-language=c#gst_rtsp_media_factory_set_suspend_mode

On 2/25/20 10:17 PM, pasifus wrote:

> Hi,
>
> I'm using example from
> https://github.com/GStreamer/gst-rtsp-server/blob/master/examples/test-appsrc2.c
> and I replaced pipeline: videotestsrc is-live=true ... to playbin and
> appsink.  I interesting how to continue playing pipeline when all clients
> disconnected. So new connection should continue from correct timestamp and
> not from begin.
>
> Also I'm interesting to start play from begin when playbin file go to EOS.
> (loop mode)
>
>
> Thanks for help.
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> [hidden email]
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel