Membrane Core v0.5.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.Log.

Link to this section Types

Link to this type

metadata_t()

View Source
metadata_t() :: map()
Link to this type

t()

View Source
t() :: %Membrane.Buffer{metadata: metadata_t(), payload: Membrane.Payload.t()}

Link to this section Functions

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