createOpusCodec
createOpusCodec():
Promise<OpusCodec>
Defined in: packages/voice/src/opus.ts:66
Creates an Opus codec: Lunibee’s Opus on the system’s libopus when it is
installed (native speed, nothing to compile), otherwise opusscript, an
optional peer dependency. Playing Ogg/Opus files, or anything through
FFmpeg without inlineVolume or effects, needs neither.
Returns
Section titled “Returns”Promise<OpusCodec>
Throws
Section titled “Throws”If neither is available.