[Bug 757488] New: gst-rtsp-server: multicast functionality is broken

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Mon Nov 2 07:31:01 PST 2015


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

            Bug ID: 757488
           Summary: gst-rtsp-server: multicast functionality is broken
    Classification: Platform
           Product: GStreamer
           Version: git master
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: Normal
         Component: gst-rtsp-server
          Assignee: gstreamer-bugs at lists.freedesktop.org
          Reporter: patricia at axis.com
        QA Contact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---

The following commit in gst-rtsp-server
3159b374b9d4b73d20667667f8fd843fa319e9e9
makes it impossible to handle multicast requests.

When the address pools for the unicast and the multicast addresses are
configured to use the same port ranges, setting the source->udpsrc elements
(multicast part of the receiver) into the PLAYING state (see update_transport()
in rtsp-stream.c) results in a bind() error: "Error binding to address: Address
already in use".
The reason for this failure is that the alloc_ports_one_family function has
already created the udpsrc elements - the receiving part of the pipeline that
is supposed to handle the unicast client feedback - and the requested ports by
the multicast receiving part are already taken after alloc_ports_one_family()
was called.

The current design of the code in not consistent. The receiver parts (multicast
and unicast) of the pipeline are created in different places which makes the
code hard to understand and maintain.

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