Socket
Socket
Sign inDemoInstall

electron-jitterbuffer

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

electron-jitterbuffer

A fork of node-jitterbuffer, supporting electron builds


Version published
Maintainers
1
Created
Source

node-jitterbuffer

NodeJS native bindings to libspeex jitter buffer

var jitter = require('jitterbuffer').JitterBuffer;
var JB = jitter.JitterBuffer;
var jb = new JB();

jb.put({ data: new Buffer(10), timestamp: 10, span: 10 });
jb.put({ data: new Buffer(10), timestamp: 30, span: 10 });
jb.put({ data: new Buffer(10), timestamp: 20, span: 10 });
jb.put({ data: new Buffer(10), timestamp: 50, span: 10 });

jb.get(10).timestamp; // 10
jb.get(10).timestamp; // 20
jb.get(10).timestamp; // 30
jb.get(10)            // jitter.MISSING
jb.get(10).timestamp; // 50

Platform support

Supported platforms:

  • Linux x64
  • Darwin x64
  • Windows x64

Add new supported platforms by running ./configure in deps/speex-1.2rc1 and copying the following files:

  • config.h
  • include/speex/speex_config_types.h

to deps/config/celt-0.7.1/<os>/<arch> maintaining the relative path. See the existing platforms for an example.

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

Fork Notes

This fork adds electron build support, compatible with electron-updater.

Binaries available for various platforms on s3, e.g.: https://s3.amazonaws.com/evolve-bin/electron-jitterbuffer/electron-jitterbuffer-0.1.8-win32-x64-release-master.tgz

See the package.json for how the url is composed.

FAQs

Package last updated on 01 Sep 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc