The web implementation of opus_codec.
This package has been endorsed, meaning that you only need to add opus_codec
as a dependency in your pubspec.yaml. It will be automatically included in your app
when you depend on package:opus_codec.
This is what the above means to your pubspec.yaml:
...
dependencies:
...
opus_codec: ^3.0.0
...If you wish to use the web package only, you can add opus_codec_web as a
dependency:
...
dependencies:
...
opus_codec_web: ^3.0.0
...Opus is compiled to WebAssembly using Emscripten via Docker. The build commands are in the Dockerfile. The resulting libopus.js and libopus.wasm files are shipped as Flutter assets and loaded at runtime via wasm_ffi.