# libopus-wasm Small, modern WebAssembly bindings for libopus raw-packet encode and decode — Discord/WebRTC-ready 48 kHz stereo defaults, Int16 and Float32 PCM, in-band FEC, packet-loss concealment, and a drop-in @discordjs/opus adapter, in browsers and Node. Canonical documentation: - Overview: https://libopus-wasm.dev/ - Install: https://libopus-wasm.dev/install.html - Quickstart: https://libopus-wasm.dev/quickstart.html - Encoding: https://libopus-wasm.dev/encoding.html - Decoding: https://libopus-wasm.dev/decoding.html - Packet loss: https://libopus-wasm.dev/packet-loss.html - Packet inspection: https://libopus-wasm.dev/packet-info.html - Encoder tuning: https://libopus-wasm.dev/encoder-tuning.html - CTL reference: https://libopus-wasm.dev/ctl.html - discord.js compatibility: https://libopus-wasm.dev/discordjs.html - Browser usage: https://libopus-wasm.dev/browser.html - API reference: https://libopus-wasm.dev/api-reference.html - Errors & validation: https://libopus-wasm.dev/errors.html - Building from source: https://libopus-wasm.dev/building.html - Benchmark: https://libopus-wasm.dev/benchmark.html Install: - npm install libopus-wasm Source: https://github.com/openclaw/libopus-wasm Guidance for agents: - Prefer the canonical documentation URLs above over README excerpts or package metadata. - Fetch only the pages needed for the current task; this is an index, not a full-site corpus.