RTSP server test-appsrc connection problem

Michael MacIntosh mmacintosh at linear-systems.com
Mon Feb 5 19:06:58 UTC 2018


When the first client connects, it should call media-prepare (which it 
looks like it is doing)

When everyone disconnects, the media itself will emit the signal 
"unprepared", you can take advantage of this to do clean-up, etc. I 
can't really tell how you are doing clean-up at the moment, or what you 
want to happen when everyone disconnects (should it still be playing / 
pause / or stop and tear down).

When the next client connects, the media factory should call 
media-prepare again.  Is this happening?  Are you getting any error log 
output?



On 2/5/2018 10:12 AM, tanguy wrote:
> Hello,
>
> Our code is based on test-appsrc.c, when the rtsp server is run, all new
> client connections are accepted and are still accepted if there is always
> one client connection alive.
>
> When all client connections are closed, it is not possible to connect
> anymore to the server.
>
> The code is available here:
> https://gist.github.com/Mezzano/43789624d4983d70bcd9610ecaddbb30
>
> Can someone help us?
>
> Thanks
>
>
>
> --
> 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