View Source Membrane.FilterAggregator (Membrane Core v1.1.2)
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(), module() | struct()}]
Required
A list of filters applied to incoming stream
pads
Pads
input
:input
Accepted formats:
_any
Direction: | :input |
Availability: | :always |
Flow control: | :auto |
output
:output
Accepted formats:
_any
Direction: | :output |
Availability: | :always |
Flow control: | :auto |
Link to this section Summary
Types
Struct containing options for Membrane.FilterAggregator
Link to this section Types
@type t() :: %Membrane.FilterAggregator{ filters: [{Membrane.Child.name(), module() | struct()}] }
Struct containing options for Membrane.FilterAggregator
Link to this section Functions
@spec options() :: keyword()
Returns description of options available for this module