View Source Membrane.Bin.CallbackContext (Membrane Core v1.0.0-rc0)
Module describing context passed to the Membrane.Bin callbacks.
Link to this section Summary
Types
Type describing context passed to the Membrane.Bin callbacks.
Link to this section Types
@type t() :: %{ :clock => Membrane.Clock.t(), :parent_clock => Membrane.Clock.t(), :pads => %{required(Membrane.Pad.ref()) => Membrane.Bin.PadData.t()}, :name => Membrane.Bin.name(), :children => %{required(Membrane.Child.name()) => Membrane.ChildEntry.t()}, :playback => Membrane.Playback.t(), :resource_guard => Membrane.ResourceGuard.t(), :utility_supervisor => Membrane.UtilitySupervisor.t(), optional(:pad_options) => map() }
Type describing context passed to the Membrane.Bin callbacks.
Field :pad_options is present only in Membrane.Bin.handle_pad_added/3
and Membrane.Bin.handle_pad_removed/3.