Membrane Core v0.1.0 Membrane.Buffer View Source

Structure representing a single chunk of data that flows between elements.

For now, it is just a wrapper around bitstring with optionally some metadata attached to it, but in future releases we plan to support different payload types.

Link to this section Summary

Functions

Converts buffer/buffers to the format in which they can be logged with Membrane.Mixins.Log

Link to this section Types

Link to this type metadata_t() View Source
metadata_t() :: map()
Link to this type payload_t() View Source
payload_t() :: bitstring()
Link to this type t() View Source
t() :: %Membrane.Buffer{metadata: metadata_t(), payload: payload_t()}

Link to this section Functions

Converts buffer/buffers to the format in which they can be logged with Membrane.Mixins.Log.