Membrane.Opus.Parser (Membrane Opus plugin v0.2.0) View Source

Parses self-delimiting Opus stream.

The self-delimiting version of Opus packet contains all the information about frame sizes needed to separate the packet from byte stream and decode it. This parser drops the last frame size from each packet header, converting packets to the basic version. The remaining frame size needs to be derived from entire packet size. See https://tools.ietf.org/html/rfc6716#appendix-B for details.

Pads

:input

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

:output

Availability:always
Bin?false
CapsMembrane.Opus, restrictions:<br />&nbsp;&nbsp;self_delimiting?: false
Direction:output
Mode:pull
Name:output

Link to this section Summary

Functions

Returns pads descriptions for Membrane.Opus.Parser

Link to this section Functions

Specs

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

Returns pads descriptions for Membrane.Opus.Parser