Membrane Core v0.5.0 Membrane.Parent.Action View Source
Common types' definitions for bin and pipeline.
Link to this section Summary
Types
Action that sends a message to a child identified by name.
Action that stops, unlinks and removes specified child/children from their parent.
Action that instantiates children and links them according to Membrane.ParentSpec
.
Type describing actions that can be returned from parent callbacks.
Link to this section Types
forward_action_t()
View Sourceforward_action_t() :: {:forward, {Membrane.Child.name_t(), Membrane.Notification.t()}}
Action that sends a message to a child identified by name.
remove_child_action_t()
View Sourceremove_child_action_t() :: {:remove_child, Membrane.Child.name_t() | [Membrane.Child.name_t()]}
Action that stops, unlinks and removes specified child/children from their parent.
Action that instantiates children and links them according to Membrane.ParentSpec
.
Children's playback state is changed to the current parent state.
Membrane.Parent.handle_spec_started/2
callback is executed once it happens.
t()
View Sourcet() :: forward_action_t() | spec_action_t() | remove_child_action_t()
Type describing actions that can be returned from parent callbacks.
Returning actions is a way of pipeline/bin interaction with its children and other parts of framework.