Whether this environment can encode Opus itself, which is whether a WebCodecs AudioEncoder exists. False in Node and in older WebViews, where the game injects another encoder (or leaves Opus out: AudioExport.formats() follows this).
AudioEncoder
AudioExport.formats()
import { isOpusEncodingAvailable } from '@datamoc/mwg/audio';console.log(isOpusEncodingAvailable()); // true in a current Chrome Copy
import { isOpusEncodingAvailable } from '@datamoc/mwg/audio';console.log(isOpusEncodingAvailable()); // true in a current Chrome
Whether this environment can encode Opus itself, which is whether a WebCodecs
AudioEncoderexists. False in Node and in older WebViews, where the game injects another encoder (or leaves Opus out:AudioExport.formats()follows this).