Rtsp server doesn't stop pipeline on client disconnect

Mathieu Duponchelle mathieu at centricular.com
Wed Feb 26 12:33:34 UTC 2020


Re looping with playbin, the easiest way is probably to set the same URI again
from an about-to-finish[1] handler. You should be able to find examples for that
fairly easily.

[1]: https://gstreamer.freedesktop.org/documentation/playback/playbin.html?gi-language=c#playbin::about-to-finish

On 2/25/20 10:21 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
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel


More information about the gstreamer-devel mailing list