<div dir="ltr"><div><br></div><div>I was replying on my phone, so could not give more details.</div><div><br></div><div>On second thought, I think the patch is on the total number of connections. I use it to limit the number of connections.</div><div><br></div><div>Both patches have been pushed, but re not merged iirc.<br></div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 12 Jan 2022 at 08:53, Eslam Ahmed <<a href="mailto:eslam.ahmed@avidbeam.com">eslam.ahmed@avidbeam.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Good to know, for now!<div><br clear="all"><div><div dir="ltr"><div dir="ltr">Best Regards,<br>Eslam Ahmed</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 11, 2022 at 2:48 PM Marc Leeman <<a href="mailto:marc.leeman@gmail.com" target="_blank">marc.leeman@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto">There is a patch iirc that does this, but it is not merged.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 11, 2022, 12:00 Eslam Ahmed via gstreamer-devel <<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">For reference, it can be done. Not sure if it's the most optimized way though<div><br></div><div>loop on all clients via gst_rtsp_server_client_filter. Per client, loop on all his/her sessions via gst_rtsp_client_session_filter. Per session, call gst_rtsp_session_get_media with the endpoint you wish and check how many matched chars returned. if matched chars was equal to the number of chars in the endpoint, then it means this is an exact match and it represents a client using (connected to) that endpoint.</div><div><br clear="all"><div><div dir="ltr"><div dir="ltr">Best Regards,<br>Eslam Ahmed</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Jan 11, 2022 at 10:03 AM Eslam Ahmed <<a href="mailto:eslam.ahmed@avidbeam.com" rel="noreferrer" target="_blank">eslam.ahmed@avidbeam.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello,<div><br></div><div>I am looking for a way to figure out how many clients are connected to a specific stream or mount point running on a gst-rtsp-server?</div><div><br></div><div>gst_rtsp_server_client_filter can be called to iterate over all the clients (GstRTSPClient which have inherited GstRTSPMountPoints, GstRTSPSessionPool, GstRTSPAuth and GstRTSPThreadPool) but not clients connected to a given mount point. Could it be adapted to do so?<br></div><div><br></div><div><br clear="all"><div><div dir="ltr"><div dir="ltr">Best Regards,<br>Eslam Ahmed</div></div></div></div></div>
</blockquote></div>
</blockquote></div>
</blockquote></div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">g. Marc</div>