[Bug 757488] gst-rtsp-server: multicast functionality is broken if using the same port ranges for multicast and unicast

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Nov 12 00:37:25 PST 2015


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

--- Comment #11 from Patricia Muscalu <patricia at axis.com> ---
I mean that alloc_ports_one_family() should check the transport used by the
client before deciding what address to use for the receiver part (in
alloc_ports_one_family()):

if (unicast transport && pool that has unicast addresses)
   acquire a unicast address/port
   ..
else if (multicast transport && pool that has multicast addresses)
   acquire a multicast address
   ..
else
   try to use random port
   ..

Regarding your suggestion above:

1. I agree, I think it's a good idea to allocate all needed ports in one 
function, in update_transport(). So what is currently done in
alloc_ports_one_family() should be done in update_transport() with some
modifications suggested by you in alternative 3.
2. I think it introduces unnecessary complexity.
3. I agree. This should be combined with alternative 1.

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