multisocketsink: Add support for GstNetControlMessageMeta
authorWilliam Manley <will@williammanley.net>
Thu, 30 Oct 2014 17:53:15 +0000 (17:53 +0000)
committerWim Taymans <wtaymans@redhat.com>
Sat, 14 Mar 2015 12:23:20 +0000 (13:23 +0100)
commite63e023e300fd8ab778758dad6a28fa5cea154d2
tree45ab12a699e88e0ec06b7308e9e2e1694bd34031
parenta297b0545f664c82351bbae1fd3f943d068b5031
multisocketsink: Add support for GstNetControlMessageMeta

multisocketsink now understands the new GstNetControlMessageMeta to allow
sending control messages (ancillary data) with data when writing to Unix
domain sockets.

A later commit will introduce a new socketsrc element which will similarly
understand `GstNetControlMessageMeta`.  This, when used with a
`GSocketControlMessage` of type `GUnixFDMessage` will allow GStreamer to
send and receive file-descriptions in ancillary data, the first step to
using memfds to implement zero-copy video IPC.

Thanks to glib's `GSocketControlMessage` abstraction the code introduced
in this commit is entirely portable and doesn't introduce and additional
dependencies or conditionally compiled code, even if it is unlikely to be
of much use on non-UNIX systems.
configure.ac
gst/tcp/gstmultisocketsink.c