View Source Membrane.FilterAggregator (Membrane Core v0.11.3)

An element allowing to aggregate many filters within one Elixir process.

Warning: This element is still in experimental phase

This element supports only filters with one input and one output with following restrictions:

  • not using timers
  • not relying on received messages
  • not expecting any events coming from downstream elements
  • their pads have to be named :input and :output
  • their pads cannot use manual demands
  • the first filter must make demands in buffers

element-options

Element options

Passed via struct Membrane.FilterAggregator.t/0

  • filters

    [{Membrane.Child.name_t(), module() | struct()}]

    Required
    A list of filters applied to incoming stream

pads

Pads

input

:input

Accepted formats:

_any
Direction::input
Availability::always
Mode::pull
Demand mode::auto
Demand unit::buffers

output

:output

Accepted formats:

_any
Direction::output
Availability::always
Mode::pull
Demand mode::auto

Link to this section Summary

Types

t()

Struct containing options for Membrane.FilterAggregator

Functions

Returns description of options available for this module

Link to this section Types

@type t() :: %Membrane.FilterAggregator{
  filters: [{Membrane.Child.name_t(), module() | struct()}]
}

Struct containing options for Membrane.FilterAggregator

Link to this section Functions

@spec options() :: keyword()

Returns description of options available for this module