GStreamer plugins for input/output using the nanomsg socket library

Carlos Rafael Giani dv at pseudoterminal.org
Mon Jan 12 15:11:46 PST 2015


Hello all,

nanomsg (http://nanomsg.org) is a socket library that can be used for 
passing messages between threads, hosts, processes, using different 
protocols (publish/subscribe, push/pull etc.) I have written GStreamer 
source and sink elements that make use of nanomsg sockets: 
https://github.com/dv1/gstnanomsg

Feedback is appreciated. One nice feature of nanomsg sockets is that 
receivers can start before senders, and if either the sender or the 
receiver goes away and returns later, the connection is transparently 
resumed. This is useful to ensure that crashing senders and/or receivers 
don't permanently sever the connection. Combining it with the GST RTP 
payloader with a nonzero config interval makes sure playback on the 
receiver's end can automatically continue.

Overhead of nanomsg was very low in test runs on both an 64-bit quadcore 
PC and on 720MHz ARM Cortex A8 hardware.

Feedback appreciated.


More information about the gstreamer-devel mailing list