View Source Membrane.Opus.Decoder (Membrane Opus plugin v0.10.0)
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 |
Caps | Membrane.Opus , restrictions:<br /> self_delimiting?: false ,<br />Membrane.RemoteStream , restrictions:<br /> type: :packetized ,<br /> content_format: one_of([Membrane.Opus, nil]) |
Demand unit | :buffers |
Direction | :input |
Mode | :pull |
Name | :input |
:output
Availability | :always |
Caps | Membrane.Caps.Audio.Raw , restrictions:<br /> format: :s16le |
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
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