View Source Membrane.Element.CallbackContext.Demand (Membrane Core v0.10.2)

Structure representing a context that is passed to the element when processing incoming demand.

Link to this section Summary

Link to this section Types

@type t() :: %Membrane.Element.CallbackContext.Demand{
  clock: Membrane.Clock.t() | nil,
  incoming_demand: non_neg_integer(),
  name: Membrane.Element.name_t(),
  pads: %{required(Membrane.Pad.ref_t()) => Membrane.Element.PadData.t()},
  parent_clock: Membrane.Clock.t() | nil,
  playback_state: Membrane.PlaybackState.t()
}