Membrane Element: Fake v0.2.0 Membrane.Element.Fake.Sink.Bytes View Source

Fake sink that ignores coming data. It makes demands in bytes.

Link to this section Summary

Types

t()

Struct containing options for Membrane.Element.Fake.Sink.Bytes

  • demand_size: Amount of bytes demanded on each write

Functions

Returns pads specification for Membrane.Element.Fake.Sink.Bytes

Returns description of options available for this module

Link to this section Types

Link to this type t() View Source
t() :: %Membrane.Element.Fake.Sink.Bytes{demand_size: pos_integer()}

Struct containing options for Membrane.Element.Fake.Sink.Bytes

  • demand_size: Amount of bytes demanded on each write

    Defaults to 2048

Link to this section Functions

Returns pads specification for Membrane.Element.Fake.Sink.Bytes

They are the following:

  • Pad :input

    • availability: :always
    • caps: :any
    • demand unit: :bytes
    • direction: :input
    • mode: :pull

Returns description of options available for this module