Membrane.Element.CallbackContext.PadAdded (Membrane Core v0.7.0) View Source

Structure representing a context that is passed to the element when a new dynamic pad instance is created

Link to this section Summary

Link to this section Types


t() :: %Membrane.Element.CallbackContext.PadAdded{
  clock: Membrane.Clock.t() | nil,
  direction: :input | :output,
  name: Membrane.Element.name_t(),
  options: Keyword.t(),
  pads: %{required(Membrane.Pad.ref_t()) => Membrane.Pad.Data.t()},
  parent_clock: Membrane.Clock.t() | nil,
  playback_state: Membrane.PlaybackState.t()