GNOME Bugzilla – Bug 770969
Reserve local port in the pool in multicast
Last modified: 2018-11-03 15:40:28 UTC
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.
Indeed a problem, but also not a new one if I'm not mistaken. The whole address pool story in the server seems rather broken.
Not a regression indeed.
-- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/gstreamer/gst-rtsp-server/issues/28.