Skip to content
forked from discordjs/opus

Native libopus 1.4 bindings for Node & Electron.

License

Notifications You must be signed in to change notification settings

vitri-ent/node-opus

 
 

Repository files navigation

@pyke/opus Build Prebuild

Native bindings to libopus v1.4

Forked from discordjs/opus

Usage

const { OpusEncoder } = require('@pyke/opus');

// Create the encoder.
// Specify 48kHz sampling rate and 2 channel size.
const encoder = new OpusEncoder(48000, 2);

// Encode and decode.
const encoded = encoder.encode(buffer);
const decoded = encoder.decode(encoded);

Platform support

⚠ Node.js 14.12.0 or newer is required.

  • Linux x64 & ia32
  • Linux arm (RPi 1 & 2)
  • Linux arm64 (RPi 3)
  • macOS x64
  • macOS arm64
  • Windows x64

About

Native libopus 1.4 bindings for Node & Electron.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 77.1%
  • Python 20.5%
  • JavaScript 2.4%