Why does UDPSink multiplex all the streams from the same port together?

Sebastian Dröge sebastian at centricular.com
Thu Apr 21 12:04:03 UTC 2016


On Do, 2016-04-21 at 04:19 -0700, debruyn wrote:
> Good day,
> 
> I am currently developing a system that has multiple UDPSinks that sends to
> the same port( Due to project restrictions). I am curious to know why
> UDPSink multiplex all the streams from the same port together? I would think
> that once a source has made a connection with a sink that It won't connect
> to another senders address.

UDP is connection-less. The source just gives you whatever packets are
arriving on that port, and if you additionally need demultiplexing you
could do that based on the GstNetAddressMeta on each packet that gives
you the sender address/port.

-- 
Sebastian Dröge, Centricular Ltd · http://www.centricular.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20160421/f913bd30/attachment.sig>


More information about the gstreamer-devel mailing list