[Bug 757488] gst-rtsp-server: multicast functionality is broken
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Wed Nov 11 13:47:18 PST 2015
https://bugzilla.gnome.org/show_bug.cgi?id=757488
--- Comment #10 from Sebastian Dröge (slomo) <slomo at coaxion.net> ---
I checked the code a bit now. So, in alloc_ports_one_family() we are allocating
sockets and bind them to random ports. At a later time we get the multicast
transport, which has fixed ports (that are different than the random ones).
So I think we have three options here: either we allocate all ports in
update_transport(), or we don't share sockets between udpsrc and udpsink and
only allocate the receiver side in update_transport(), or we could check in
update_transport() if the existing udpsrcs are already listening on the right
port, and if they do only call g_socket_join/leave_multicast_group() on those
sockets instead of creating new sources.
I think I currently prefer the latter as it's least invasive
For your second question, what exactly do you mean?
--
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