<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi Tran Tu<div class=""><br class=""></div><div class="">You may try limiting the number of sessions to 1. To do so, try the following:</div><div class=""><br class=""></div><div class="">guint num_sessions = 1;</div><div class=""><br class=""></div><div class="">GstRTSPSessionPool *pool = gst_rtsp_server_get_session_pool(server);</div><div class=""><div class="">gst_rtsp_session_pool_set_max_sessions (pool, num_sessions);</div><div class=""><br class=""></div><div class="">g_object_unref (pool);</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Regards</div><div class="">Michael</div><div class=""><br class=""></div><div class="">
<div class=""><div class=""><font size="1" class="">—</font></div><div class=""><font size="1" class="">Michael Gruner <<a href="mailto:michael.gruner@ridgerun.com" class="">michael.gruner@ridgerun.com</a>></font></div><div class=""><font size="1" class="">Embedded Linux and GStreamer solutions</font></div><div class=""><font size="1" class="">RidgeRun Engineering</font></div><div class=""><font size="1" class="">Contact Us - <a href="http://www.ridgerun.com/#!contact/c3vn" class="">http://www.ridgerun.com/#!contact/c3vn</a></font></div></div>
</div>
<br class=""><div><blockquote type="cite" class=""><div class="">On May 17, 2016, at 15:44, Tran Tu <<a href="mailto:camtubk05@gmail.com" class="">camtubk05@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Hi Bomba,<br class=""><br class="">When I run the "test-video" in examples of package gst-rtsp-server plugin<br class="">with this setting added<br class="">gst_rtsp_media_factory_set_shared (media, FALSE)<br class=""><br class="">If I access to the stream twice (one is localhost) one from another LAN pc.<br class="">I can view two streams successfully, I wonder the way to configure that if<br class="">there is already one connection of client, another cannot access to see the<br class="">stream anymore.<br class=""><br class=""><br class=""><br class=""><br class=""><br class=""><br class="">--<br class="">View this message in context: <a href="http://gstreamer-devel.966125.n4.nabble.com/RTSP-server-streaming-problem-tp4677595p4677622.html" class="">http://gstreamer-devel.966125.n4.nabble.com/RTSP-server-streaming-problem-tp4677595p4677622.html</a><br class="">Sent from the GStreamer-devel mailing list archive at <a href="http://nabble.com" class="">Nabble.com</a>.<br class="">_______________________________________________<br class="">gstreamer-devel mailing list<br class=""><a href="mailto:gstreamer-devel@lists.freedesktop.org" class="">gstreamer-devel@lists.freedesktop.org</a><br class="">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel<br class=""></div></div></blockquote></div><br class=""></div></body></html>