Membrane.Opus.Decoder (Membrane Opus plugin v0.9.0) View Source

This element performs decoding of Opus audio.

Element options

Passed via struct Membrane.Opus.Decoder.t/0

  • sample_rate

    8000 | 12000 | 16000 | 24000 | 48000

    Default value: 48000
    Sample rate to decode at. Note: Opus is able to decode any stream at any supported sample rate. 48 kHz is recommended. For details, see https://tools.ietf.org/html/rfc7845#section-5.1 point 5.

Pads

:input

Availability:always
CapsMembrane.Opus, restrictions:<br />&nbsp;&nbsp;self_delimiting?: false,<br />Membrane.RemoteStream, restrictions:<br />&nbsp;&nbsp;type: :packetized,<br />&nbsp;&nbsp;content_format: one_of([Membrane.Opus, nil])
Demand unit:buffers
Direction:input
Mode:pull
Name:input

:output

Availability:always
CapsMembrane.Caps.Audio.Raw, restrictions:<br />&nbsp;&nbsp;format: :s16le
Direction:output
Mode:pull
Name:output

Link to this section Summary

Types

t()

Struct containing options for Membrane.Opus.Decoder

Functions

Returns pads descriptions for Membrane.Opus.Decoder

Returns description of options available for this module

Link to this section Types

Specs

t() :: %Membrane.Opus.Decoder{sample_rate: 8000 | 12000 | 16000 | 24000 | 48000}

Struct containing options for Membrane.Opus.Decoder

Link to this section Functions

Specs

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

Returns pads descriptions for Membrane.Opus.Decoder

Specs

options() :: keyword()

Returns description of options available for this module