Skip to content

far0ouk/node12-celt

 
 

Repository files navigation

node-celt

Fork disclaimer
This is my naive attempt to support Node 12 in node-mumble and it's dependencies. I'm not experienced in v8 so I can't promise anything, but at least it just works.

~Fun Maker

NodeJS native bindings to libcelt

This module implements bindings for Celt v0.7.0 for Node.js.

celt = require('node-celt');

// Create the encoder.
// Specify 48kHz sampling rate and 10ms frame size.
// NOTE: The decoder must use the same values when decoding the packets.
var rate = 48000;
var frame_size = rate/100;
var encoder = new celt.CeltEncoder( rate );

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

Platform support

Supported platforms:

  • Linux x64
  • Linux arm
  • Darwin x64 (mac osx)
  • FreeBSD x64
  • Windows x64

Add new supported platforms by running ./configure in deps/celt-0.7.1 and copying the resulting config.h to deps/config/celt-0.7.1//.

Use the following flags: --enable-static --disable-shared --with-pic

About

Celt codec bindings for Node.js

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 45.2%
  • JavaScript 21.2%
  • C 17.4%
  • Python 16.2%