RTSP server streaming problem
Michael Gruner
michael.gruner at ridgerun.com
Wed May 18 05:59:27 UTC 2016
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
—
Michael Gruner <michael.gruner at ridgerun.com <mailto:michael.gruner at ridgerun.com>>
Embedded Linux and GStreamer solutions
RidgeRun Engineering
Contact Us - http://www.ridgerun.com/#!contact/c3vn <http://www.ridgerun.com/#!contact/c3vn>
> On May 17, 2016, at 15:44, Tran Tu <camtubk05 at gmail.com> wrote:
>
> 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.html
> Sent from the GStreamer-devel mailing list archive at Nabble.com.
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160517/15701cdc/attachment.html>
More information about the gstreamer-devel
mailing list