Membrane Core v0.2.2 Membrane.Testing.Pipeline.Options View Source
Structure representing options
passed to testing pipeline.
Monitored Callbacks
A message will be sent to test process
if the invoked callback is in the list of monitored callbacks.
See pipeline_callback/0
for available callbacks.
Test Process
pid
of process that shall receive messages when Pipeline invokes playback state change callback
and receives notification.
Elements
List of element specs.
Links
Map describing links between elements.
If links are not present or set to nil they will be populated automatically based on elements order using default pad names.
Link to this section Summary
Link to this section Types
Link to this type
pipeline_callback()
View Source
pipeline_callback()
View Source
pipeline_callback() ::
:handle_notification
| :handle_playing_to_prepared
| :handle_prepared_to_playing
| :handle_prepared_to_stopped
| :handle_stopped_to_prepared
pipeline_callback() :: :handle_notification | :handle_playing_to_prepared | :handle_prepared_to_playing | :handle_prepared_to_stopped | :handle_stopped_to_prepared
Defines supported callback names.
Link to this type
t()
View Source
t()
View Source
t() :: %Membrane.Testing.Pipeline.Options{
elements: Membrane.Pipeline.Spec.children_spec_t(),
links: Membrane.Pipeline.Spec.links_spec_t() | nil,
monitored_callbacks: pipeline_callback() | nil,
test_process: pid() | nil
}
t() :: %Membrane.Testing.Pipeline.Options{ elements: Membrane.Pipeline.Spec.children_spec_t(), links: Membrane.Pipeline.Spec.links_spec_t() | nil, monitored_callbacks: pipeline_callback() | nil, test_process: pid() | nil }