AW: Problem using RTSP Server on Windows with VLC as client.

Thornton, Keith keith.thornton at zeiss.com
Wed Feb 15 15:49:11 UTC 2017


Hi,
it is enough to use test-launch.exe 
with the added lines

            /* set the max number of sessions to a single session */
            GstRTSPSessionPool *sessionPool = gst_rtsp_server_get_session_pool(m_server);
            gst_rtsp_session_pool_set_max_sessions(sessionPool, 1);
            g_object_unref(sessionPool);

then start vlc, connect it and when the stream is visible, kill it using the process explorer (not the task manager!)
I will file a bug with a log.


-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:gstreamer-devel-bounces at lists.freedesktop.org] Im Auftrag von Sebastian Dröge
Gesendet: Mittwoch, 15. Februar 2017 15:07
An: Discussion of the development of and with GStreamer <gstreamer-devel at lists.freedesktop.org>
Betreff: Re: Problem using RTSP Server on Windows with VLC as client.

On Wed, 2017-02-15 at 13:58 +0000, Thornton, Keith wrote:
> Hi,
> When I run the rtsp-server on Windows and connect using VLC from 
> another windows machine I can see the video. (I have the 
> rtsp_session_pool_set_max_sessions set to one.
> If I stop VLC using the normal methods (click on square bottom left or 
> X top right a TEARDOWN message is sent to the server. The client is 
> cleaned up. If I stop VLC by killing it (I have a badly behaved
> client) no TEARDOWN is sent but the TCP connection is closed. After 
> this, no further connection is possible, each request is responded to 
> with service unavailable. Has anyone else observed this behavior?

That sounds definitely like a bug in the RTSP server. Can you file a bug about this, ideally with a simple test application for the server and step by step instructions about how to reproduce the problem?

Also a debug log with GST_DEBUG=rtsp*:6 of the server is probably useful to have.

Thanks!

--
Sebastian Dröge, Centricular Ltd · http://www.centricular.com


More information about the gstreamer-devel mailing list