View Source Membrane.Opus.Decoder (Membrane Opus plugin v0.15.0)
This element performs decoding of Opus audio.
element-options
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
Pads
input
:input
Availability | :always |
Caps | Membrane.Opus , restrictions:self_delimiting?: false ,Membrane.RemoteStream , restrictions:type: :packetized ,content_format: one_of([Membrane.Opus, nil]) |
Demand mode | :auto |
Demand unit | :buffers |
Direction | :input |
Mode | :pull |
Name | :input |
output
:output
Availability | :always |
Caps | Membrane.RawAudio , restrictions:sample_format: :s16le |
Demand mode | :auto |
Demand unit | :buffers |
Direction | :output |
Mode | :pull |
Name | :output |
Link to this section Summary
Types
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
@type t() :: %Membrane.Opus.Decoder{sample_rate: 8000 | 12000 | 16000 | 24000 | 48000}
Struct containing options for Membrane.Opus.Decoder
Link to this section Functions
@spec membrane_pads() :: [{Membrane.Pad.name_t(), Membrane.Pad.description_t()}]
Returns pads descriptions for Membrane.Opus.Decoder
@spec options() :: keyword()
Returns description of options available for this module