Hi Tran Tu
You may try limiting the number of sessions to 1. To do so, try the following:
guint num_sessions = 1;
GstRTSPSessionPool *pool = gst_rtsp_server_get_session_pool(server);
gst_rtsp_session_pool_set_max_sessions (pool, num_sessions);
g_object_unref (pool);
Regards
Michael
—
Embedded Linux and GStreamer solutions
RidgeRun Engineering
Hi Bomba,
When I run the "test-video" in examples of package gst-rtsp-server plugin
with this setting added
gst_rtsp_media_factory_set_shared (media, FALSE)
If I access to the stream twice (one is localhost) one from another LAN pc.
I can view two streams successfully, I wonder the way to configure that if
there is already one connection of client, another cannot access to see the
stream anymore.
--
View this message in context:
http://gstreamer-devel.966125.n4.nabble.com/RTSP-server-streaming-problem-tp4677595p4677622.htmlSent from the GStreamer-devel mailing list archive at
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