Membrane.Buffer.Metric behaviour (Membrane Core v0.7.0) View Source
Specifies API for metrics that analyze data in terms of a given unit
Link to this section Summary
Link to this section Types
Specs
unit_t() :: :buffers | :bytes
Link to this section Functions
Specs
Link to this section Callbacks
Specs
buffers_size([%Membrane.Buffer{metadata: term(), payload: term()}] | []) :: non_neg_integer()
Specs
input_buf_preferred_size() :: pos_integer()