Membrane.Testing.Pipeline.Options (Membrane Core v0.8.1) View Source

Structure representing options passed to testing pipeline.

Test Process

pid of process that shall receive messages when Pipeline invokes playback state change callback and receives notification.

Elements

List of element specs.

List describing the links between elements.

Module

Pipeline Module with custom callbacks.

Custom Args

Arguments for Module's handle_init callback.

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

Specs

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
}