Skip to content
  • William Manley's avatar
    multisocketsink: Add support for GstNetControlMessageMeta · e63e023e
    William Manley authored
    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.
    e63e023e