Membrane Element: File v0.1.0 Membrane.Element.File.Source View Source

Element that reads chunks of data from given file and sends them as buffers through the source pad.

Link to this section Summary

Types

t()

Struct containing options for Membrane.Element.File.Source

  • location: Path to the file
  • chunk_size: Size of chunks being read

Functions

Returns all known source pads 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() :: %Membrane.Element.File.Source{
  location: String.t(),
  chunk_size: pos_integer()
}

Struct containing options for Membrane.Element.File.Source

  • location: Path to the file
  • chunk_size: Size of chunks being read

Link to this section Functions

Returns all known source pads for Membrane.Element.File.Source

They are the following:

  • Pad: :source

    • Availability: :always
    • Mode: :pull
    • Caps: any

Returns description of options available for this module