opus
Opus audio utilities for Discord Player
Classes
OggDemuxer
Demuxes an Ogg stream (containing Opus audio) to output an Opus stream.
OpusDecoder
An Opus decoder stream. Note that any stream you pipe into this must be in [object mode](https://nodejs.org/api/stream.html#stream_object_mode) and should output Opus packets.
OpusEncoder
An Opus encoder stream. Outputs opus packets in [object mode.](https://nodejs.org/api/stream.html#stream_object_mode)
OpusStream
Takes a stream of Opus data and outputs a stream of PCM data, or the inverse. **You shouldn't directly instantiate this class, see opus.Encoder and opus.Decoder instead!**
WebmDemuxer
Demuxes a Webm stream (containing Opus audio) to output an Opus stream.
Types
Functions
addLibopusProvider
Add a new Opus provider to the registry. This will be tried to load in order at runtime.
removeLibopusProvider
Remove an Opus provider from the registry.
setLibopusProvider
Set the Opus provider to use. This will override the automatic provider selection.