Membrane Core v0.2.2 Membrane.Testing.Sink View Source

Sink Element that will send every buffer it receives to the pid passed as argument.

Link to this section Summary

Types

t()

Struct containing options for Membrane.Testing.Sink

Functions

Returns pads specification for Membrane.Testing.Sink

Returns description of options available for this module

Link to this section Types

Link to this type

t() View Source
t() :: %Membrane.Testing.Sink{target: any(), autodemand: boolean()}

Struct containing options for Membrane.Testing.Sink

  • autodemand - If true element will automatically make demands. If it is set to false demand has to be triggered manually by sending :make_demand message.

    Defaults to true

  • target - PID of process that will receive incoming buffers.

Link to this section Functions

Returns pads specification for Membrane.Testing.Sink

They are the following:

  • Pad :input

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

Returns description of options available for this module