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

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

@type t() :: %Membrane.Element.CallbackContext.PadAdded{
  clock: Membrane.Clock.t() | nil,
  direction: :input | :output,
  name: Membrane.Element.name_t(),
  options: map(),
  pads: %{required(Membrane.Pad.ref_t()) => Membrane.Element.PadData.t()},
  parent_clock: Membrane.Clock.t() | nil,
  playback: Membrane.Playback.t(),
  resource_guard: Membrane.ResourceGuard.t(),
  utility_supervisor: Membrane.UtilitySupervisor.t()
}