[Bug 766612] Does not take address pool configuration into account for sending unicast UDP

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Wed Jul 27 19:14:03 UTC 2016


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

--- Comment #25 from Xavier Claessens <xclaesse at gmail.com> ---
My current WIP branch is here:
https://git.collabora.com/cgit/user/xclaesse/gst-rtsp-server-1.0-1.8.git/log/?h=wip/stream-ports

At the current stage unit tests still fails, it's much more complicate than I
though...

The big points it changes:
 - There is no need to create more than one socket and pair of udpsrc for all
unicast clients.
 - We already support only one mcast group, so we should only create only one
pair of udpsrc for it.
 - The mcast group also needs its own multiudpsink. I don't think it can share
the one from unicast clients because they don't share the same socket.
Otherwise it wouldn't send and recv from the same port. Current code is wrong
here because it changes the socket on the shared multiudpsink on the fly even
for existing clients.

About avoiding the tee, it's not mandatory if we have only unicast or only
mcast clients. But if we have both then it cannot be avoided AFAIK. Also it
would means that if we have only an unicast client and then a mcast clients
connects we would have to dynamically plug a tee... That's more work that I'm
not doing in this branch, yet.

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