gstdataprotocol
implements GStreamer Data Protocol to serialize buffers, caps and events.
This helper library provides serialization of GstBuffer, GstCaps and
GstEvent structures.
This serialization can be useful when GStreamer needs to interface with
the outside world to transport data between different GStreamer pipelines.
The connections with the outside world generally don't have mechanisms
to transport properties of these structures.
For example, transporting buffers across named pipes doesn't keep the
buffer size. Network elements that transport GStreamer data across
network connections also need a protocol to do this.
#GstBuffer, #GstCaps, #GstEvent
@GST_DP_HEADER_FLAG_NONE:
@GST_DP_HEADER_FLAG_CRC_HEADER:
@GST_DP_HEADER_FLAG_CRC_PAYLOAD:
@GST_DP_HEADER_FLAG_CRC:
@GST_DP_PAYLOAD_NONE:
@GST_DP_PAYLOAD_BUFFER:
@GST_DP_PAYLOAD_CAPS:
@GST_DP_PAYLOAD_EVENT_NONE:
@header:
@Returns:
@header:
@Returns:
@buffer:
@flags:
@length:
@header:
@Returns:
@caps:
@flags:
@length:
@header:
@payload:
@Returns:
@event:
@flags:
@length:
@header:
@payload:
@Returns:
@header_length:
@header:
@Returns:
@header_length:
@header:
@payload:
@Returns:
@header_length:
@header:
@payload:
@Returns:
@header_length:
@header:
@Returns:
@header_length:
@header:
@payload:
@Returns:
@header_length:
@header:
@payload:
@Returns: