Membrane Core v0.3.0 Membrane.Buffer.Metric behaviour 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
Link to this type
unit_t()
View Source
unit_t()
View Source
unit_t() :: :buffers | :bytes
unit_t() :: :buffers | :bytes
Link to this section Functions
Link to this function
from_unit(atom) View Source
Link to this section Callbacks
Link to this callback
buffers_size(arg0)
View Source
buffers_size(arg0)
View Source
buffers_size([%Membrane.Buffer{metadata: term(), payload: term()}] | []) ::
non_neg_integer()
buffers_size([%Membrane.Buffer{metadata: term(), payload: term()}] | []) :: non_neg_integer()
Link to this callback
pullbuffer_preferred_size()
View Source
pullbuffer_preferred_size()
View Source
pullbuffer_preferred_size() :: pos_integer()
pullbuffer_preferred_size() :: pos_integer()
Link to this callback