View Source Membrane.File.Source (Membrane File plugin v0.11.1)
Element that reads chunks of data from given file and sends them as buffers through the output pad.
element-options
Element options
Passed via struct Membrane.File.Source.t/0
location
Path.t()
Required
Path to the filechunk_size
pos_integer()
Default value:
2048
Size of chunks being read
pads
Pads
output
:output
Availability | :always |
Caps | Membrane.RemoteStream , restrictions:type: :bytestream |
Demand mode | :manual |
Demand unit | :buffers |
Direction | :output |
Mode | :pull |
Name | :output |
Link to this section Summary
Types
Struct containing options for Membrane.File.Source
Functions
Returns pads descriptions for Membrane.File.Source
Returns description of options available for this module
Link to this section Types
@type t() :: %Membrane.File.Source{chunk_size: pos_integer(), location: Path.t()}
Struct containing options for Membrane.File.Source
Link to this section Functions
@spec membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]
Returns pads descriptions for Membrane.File.Source
@spec options() :: keyword()
Returns description of options available for this module