Membrane Element: File v0.4.1 Membrane.Element.File.Source View Source
Element that reads chunks of data from given file and sends them as buffers through the output pad.
Element options
Passed via struct Membrane.Element.File.Source.t/0
locationRequired
Path to the file
chunk_sizeDefault value:
2048Size of chunks being read
Pads
:output
| Availability | :always |
| Bin? | false |
| Caps | :any |
| Direction | :output |
| Mode | :pull |
| Name | :output |
Link to this section Summary
Types
Struct containing options for Membrane.Element.File.Source
Functions
Returns pads descriptions for Membrane.Element.File.Source
Returns description of options available for this module
Link to this section Types
Link to this type
t()
View Sourcet() :: %Membrane.Element.File.Source{
chunk_size: pos_integer(),
location: String.t()
}
Struct containing options for Membrane.Element.File.Source
Link to this section Functions
Link to this function
membrane_pads()
View Sourcemembrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]
Returns pads descriptions for Membrane.Element.File.Source
Returns description of options available for this module