View Source Membrane.Testing.Pipeline.Options (Membrane Core v0.10.2)
@deprecated
Structure representing options
passed to testing pipeline.
struct-fields
Struct fields
:test_process
-pid
of process that shall receive messages from testing pipeline, e.g. when pipeline's playback state changes. This allows usingMembrane.Testing.Assertions
:elements
- a list of element specs. Allows to create a simple pipeline without defining a module for it.:links
- a list describing the links between children. If ommited (or set tonil
), they will be populated automatically based on the children order using default pad names.:module
- pipeline module with custom callbacks - useful if a simple list of children is not enough.:custom_args
- arguments for the module'shandle_init
callback.
Link to this section Summary
Link to this section Types
@type t() :: %Membrane.Testing.Pipeline.Options{ custom_args: Membrane.Pipeline.pipeline_options_t() | nil, elements: Membrane.ParentSpec.children_spec_t() | nil, links: Membrane.ParentSpec.links_spec_t() | nil, module: module() | nil, test_process: pid() | nil }