Top |
GstNetControlMessageMeta can be used to store control messages (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).
GstNetControlMessageMeta * gst_buffer_add_net_control_message_meta (GstBuffer *buffer
,GSocketControlMessage *message
);
Attaches message
as metadata in a GstNetControlMessageMeta to buffer
.
const GstMetaInfo *
gst_net_control_message_meta_get_info (void
);
struct GstNetControlMessageMeta { GstMeta meta; GSocketControlMessage *message; };
Buffer metadata for GSocket control messages, AKA ancillary data attached to data sent across a socket.
GstMeta |
the parent type |
|
GSocketControlMessage * |
a GSocketControlMessage stored as metadata |