[Bug 759777] New: Limit number of connecting clients in GstRTSPServer

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Dec 22 06:50:06 PST 2015


https://bugzilla.gnome.org/show_bug.cgi?id=759777

            Bug ID: 759777
           Summary: Limit number of connecting clients in GstRTSPServer
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: All
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: sebras at hotmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

GstRTSPServer currently has a way of limiting the number of work being done in
parallel by setting the maximum number of threads on the GstRTSPThreadPool
being used. But there is no way to limit the number of connecting clients (some
of which may later be accepted, and some be denied e.g. by the ->prepare()
virtual function denying access). If there is no limit then some resource may
be depleted, e.g. the number of file descriptors that may be open in the
process running GstRTSPServer.

The proposed patch adds a property on GstRTSPServer exposing a max-clients
limit. Once this limit has been reached the server will simply disconnect any
connecting client without letting it send its request and without sending any
RTSP response.

I'm of course available for further discussions concerning this patch.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list