Quantcast

Problem using RTSP Server on Windows with VLC as client.

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Problem using RTSP Server on Windows with VLC as client.

Thornton, Keith

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?

Grüße


_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Sebastian Dröge-3
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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel

signature.asc (981 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Thornton, Keith
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:[hidden email]] Im Auftrag von Sebastian Dröge
Gesendet: Mittwoch, 15. Februar 2017 15:07
An: Discussion of the development of and with GStreamer <[hidden email]>
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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

Thornton, Keith
In reply to this post by Sebastian Dröge-3
Bug reportet has #778742

-----Ursprüngliche Nachricht-----
Von: gstreamer-devel [mailto:[hidden email]] Im Auftrag von Sebastian Dröge
Gesendet: Mittwoch, 15. Februar 2017 15:07
An: Discussion of the development of and with GStreamer <[hidden email]>
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
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
Loading...