View Source Membrane.Pipeline.CallbackContext (Membrane Core v0.12.7)

Module describing context passed to the Membrane.Pipeline callbacks.

Link to this section Summary

Types

t()

Type describing context passed to the Membrane.Pipeline callbacks.

Link to this section Types

@type t() :: %{
  :clock => Membrane.Clock.t(),
  :children => %{required(Membrane.Child.name()) => Membrane.ChildEntry.t()},
  :playback => Membrane.Playback.t(),
  :resource_guard => Membrane.ResourceGuard.t(),
  :utility_supervisor => Membrane.UtilitySupervisor.t(),
  optional(:from) => [GenServer.from()],
  optional(:members) => [Membrane.Child.name()],
  optional(:crash_initiator) => Membrane.Child.name()
}

Type describing context passed to the Membrane.Pipeline callbacks.

Field :from is present only in Membrane.Pipeline.handle_call/3.

Fields :members and :crash_initiator are present only in Membrane.Pipeline.handle_crash_group_down/3.