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

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

Element options

Passed via struct Membrane.Testing.Sink.t/0

  • autodemand

    Default value: true

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

  • target

    Required

    PID of process that will receive incoming buffers.

Pads

:input

Availability:always
Caps:any
Demand unit:buffers
Direction:input
Mode:pull

Link to this section Summary

Types

t()

Struct containing options for Membrane.Testing.Sink

Functions

Returns pads descriptions 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{autodemand: boolean(), target: any()}

Struct containing options for Membrane.Testing.Sink

Link to this section Functions

Returns pads descriptions for Membrane.Testing.Sink

Returns description of options available for this module