Receiving RTP without udpsrc

Sebastian Dröge sebastian at centricular.com
Sun Dec 25 16:24:52 UTC 2016


On Sun, 2016-12-25 at 14:52 +0100, Peter Maersk-Moller wrote:
> What you write is true, however on Linux and OS X, it appear that
> when you can create two processes connected with an unnamed pipe,
> packetization seems to be maintained

Not really, only if you're lucky enough that the scheduler gives both
applications CPU time often enough and equally so that each write() on
one side is paired with one read() on the other. It is definitely not
guaranteed over pipes or any kind of stream socket/fd, and will fail
sooner or later if you just wait long enough. Don't write any
application that depends on this behaviour.

-- 
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: 1000 bytes
Desc: This is a digitally signed message part
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20161225/ba4a9771/attachment-0001.sig>


More information about the gstreamer-devel mailing list