[Bug 770969] New: Reserve local port in the pool in multicast

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Tue Sep 6 19:54:51 UTC 2016


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

            Bug ID: 770969
           Summary: Reserve local port in the pool in multicast
    Classification: Platform
           Product: GStreamer
           Version: unspecified
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: xclaesse at gmail.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

In the multicast case, we bind the socket on ANY address, so I guess the port
should be taken from the unicast pool as well as from the multicast pool.

I think alloc_ports_one_family() should reserve a multicast address from the
pool, then try to reserve the same port in the unicast pool, then loop until it
finds a port that is available in both pools.

I added FIXME comments in gst_rtsp_stream_get_multicast_address() and
gst_rtsp_stream_reserve_address() about this.

-- 
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