[Bug 746164] New: meta: Add GstNetControlMessageMeta
GStreamer (GNOME Bugzilla)
bugzilla at gnome.org
Fri Mar 13 08:38:17 PDT 2015
https://bugzilla.gnome.org/show_bug.cgi?id=746164
Bug ID: 746164
Summary: meta: Add GstNetControlMessageMeta
Classification: Platform
Product: GStreamer
Version: unspecified
OS: Linux
Status: NEW
Severity: normal
Priority: Normal
Component: gstreamer (core)
Assignee: gstreamer-bugs at lists.freedesktop.org
Reporter: gnome at williammanley.net
QA Contact: gstreamer-bugs at lists.freedesktop.org
GNOME version: ---
Created attachment 299332
--> https://bugzilla.gnome.org/attachment.cgi?id=299332&action=edit
meta: Add `GstNetControlMessageMeta`
meta: Add `GstNetControlMessageMeta`
`GstNetAddress` can be used to store ancillary data which was received with
or is to be sent alongside the buffer data. When used with socket sinks
and sources which understand this meta it allows sending and receiving
ancillary data such as unix credentials (See `GUnixCredentialsMessage`)
and Unix file descriptions (See `GUnixFDMessage`).
This will be useful for implementing protocols which use file-descriptor
passing in payloaders/depayloaders without having to re-implement all the
socket handling code already present in elements such as multisocketsink,
etc. This, in turn, will be useful for implementing zero-copy video IPC.
This meta uses the platform independent `GSocketControlMessage` API
provided by GLib as a part of GIO. As a result this new meta does not
require any new dependencies or any conditional compliation for
portablility, although it is unlikely to do anything useful on non-UNIX
platforms.
Also add support for this meta to multisocketsink and the new socketsrc.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
More information about the gstreamer-bugs
mailing list