opus_codec_web 3.0.5 copy "opus_codec_web: ^3.0.5" to clipboard
opus_codec_web: ^3.0.5 copied to clipboard

Platformweb

Web implementation of the opus_codec plugin.

opus_codec_web #

The web implementation of opus_codec.

Usage #

Import the package #

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
  ...

How opus is contained in this package #

Emscripten was used to build WebAssembly and the JavaScript glue. The build commands can be found in the Dockerfile. Then, both, the WebAssembly and JavaScript file are added as Flutter assets and used from there. See wasm_ffi's documentation for more information on how WebAssembly can be loaded.

0
likes
130
points
92
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Web implementation of the opus_codec plugin.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_web_plugins, opus_codec_platform_interface, wasm_ffi

More

Packages that depend on opus_codec_web

Packages that implement opus_codec_web