Membrane Core v0.3.0 Membrane.Testing.DataSource View Source
Testing Element for supplying data from list passed through options.
Element options
Passed via struct Membrane.Testing.DataSource.t/0
data
Required
List of payloads that will be sent through
:output
pad.
Pads
:output
Availability | :always |
Caps | :any |
Direction | :output |
Mode | :pull |
Link to this section Summary
Types
Struct containing options for Membrane.Testing.DataSource
Functions
Returns pads descriptions for Membrane.Testing.DataSource
Returns description of options available for this module
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %Membrane.Testing.DataSource{data: [Membrane.Payload.t()]}
t() :: %Membrane.Testing.DataSource{data: [Membrane.Payload.t()]}
Struct containing options for Membrane.Testing.DataSource
Link to this section Functions
Link to this function
membrane_pads()
View Source
membrane_pads()
View Source
membrane_pads() :: [
{Membrane.Element.Pad.name_t(), Membrane.Element.Pad.description_t()}
]
membrane_pads() :: [ {Membrane.Element.Pad.name_t(), Membrane.Element.Pad.description_t()} ]
Returns pads descriptions for Membrane.Testing.DataSource
Link to this function
options()
View Source
options()
View Source
options() :: keyword()
options() :: keyword()
Returns description of options available for this module