Membrane Element: File v0.2.2 Membrane.Element.File.Source View Source
Element that reads chunks of data from given file and sends them as buffers through the output pad.
Link to this section Summary
Types
Struct containing options for Membrane.Element.File.Source
Functions
Returns pads specification for Membrane.Element.File.Source
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.Element.File.Source{
location: String.t(),
chunk_size: pos_integer()
}
t() :: %Membrane.Element.File.Source{ location: String.t(), chunk_size: pos_integer() }
Struct containing options for Membrane.Element.File.Source
chunk_size
- Size of chunks being readDefaults to
2048
location
- Path to the file
Link to this section Functions
Link to this function
membrane_pads() View Source
Returns pads specification for Membrane.Element.File.Source
They are the following:
Pad
:output
- availability:
:always
- caps:
:any
- direction:
:output
- mode:
:pull
- availability:
Link to this function
options()
View Source
options()
View Source
options() :: keyword()
options() :: keyword()
Returns description of options available for this module
Link to this function