[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
Mon Mar 7 10:49:55 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=757488
--- Comment #78 from Patricia Muscalu <patricia at axis.com> ---
(In reply to Sebastian Dröge (slomo) from comment #76)
> (In reply to Patricia Muscalu from comment #73)
> > gst_rtsp_stream_get_multicast_address () will only get an address from the
> > address pool if addr_v4 or addr_v6 are null.
>
> Ah I missed that, thanks! But if I understand this correctly this can happen:
> 1) get_multicast_address(), stores it in the stream then
> 2) alloc_ports_one_family()
> 3) Frees that address from 1) and gets a new one
>
> I think instead 3) should use that address.
It's not good that we actually can get addresses in two ways. We should
probably only allocate the multicast address in alloc_ports() and return this
address in _get_multicast_address().
--
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