Membrane.WebRTC.TrackFilter (Membrane WebRTC plugin v0.1.0-alpha) View Source

Allows for disabling and enabling track.

Sending :disable_track causes all packets are ignored. Sending :enable_track causes all packets are conveyed to the filter output pad. By default track is enabled.

Element options

Passed via struct Membrane.WebRTC.TrackFilter.t/0

  • enabled

    boolean()

    Default value: true
    Enable or disable track

Pads

:input

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

:output

Availability:always
Caps:any
Direction:output
Mode:pull
Name:output

Link to this section Summary

Types

t()

Struct containing options for Membrane.WebRTC.TrackFilter

Functions

Returns pads descriptions for Membrane.WebRTC.TrackFilter

Returns description of options available for this module

Link to this section Types

Specs

t() :: %Membrane.WebRTC.TrackFilter{enabled: boolean()}

Struct containing options for Membrane.WebRTC.TrackFilter

Link to this section Functions

Specs

membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]

Returns pads descriptions for Membrane.WebRTC.TrackFilter

Specs

options() :: keyword()

Returns description of options available for this module