View Source Membrane.FilterAggregator (Membrane Core v0.11.0)
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
:inputand: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 |
|
| Availability | :always |
| Demand mode | :auto |
| Demand unit | :buffers |
| Direction | :input |
| Mode | :pull |
| Name | :input |
output
:output
| Accepted formats |
|
| Availability | :always |
| Demand mode | :auto |
| Direction | :output |
| Mode | :pull |
| Name | :output |
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_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