• Stars
    star
    154
  • Rank 235,633 (Top 5 %)
  • Language
    JavaScript
  • License
    MIT License
  • Created about 11 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Mumble client in Node.js

No Maintenance Intended

This project is not maintained. The code base depends on various native components that keep breaking between Node versions. There might be non-native alternatives these days so someone should implementa new version of the library on top of such.

Mumble client for Node.js

Build Status Code Climate

This module implements mumble protocol handling for Node.js

Installation

npm install mumble

Example

var mumble = require('mumble'),
    fs = require('fs');

var options = {
    key: fs.readFileSync( 'key.pem' ),
    cert: fs.readFileSync( 'cert.pem' )
};

console.log( 'Connecting' );
mumble.connect( 'mumble://example.org', options, function ( error, connection ) {
    if( error ) { throw new Error( error ); }

    console.log( 'Connected' );

    connection.authenticate( 'ExampleUser' );
    connection.on( 'initialized', onInit );
    connection.on( 'voice', onVoice );
});

var onInit = function() {
    console.log( 'Connection initialized' );

    // Connection is authenticated and usable.
};

var onVoice = function( voice ) {
    console.log( 'Mixed voice' );

    var pcmData = voice;
};

Use openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem to generate the certificate.

Take a look at the advanced example in "examples/advanced.js"!

Please also take a look at the wiki for an complete documentation of the API.

Contributing

Pull requests, found issues, etc. are welcome. The authors are tracked in the AUTHORS file. This file is kept up to date manually so authors are encouraged to pull request the necessary changes to the AUTHORS themselves.

Running tests

Tests can be executed with mocha. By default the tests are executed against local (localhost) Mumble server in the default port. To use a remote server or non-default port, launch mocha with MUMBLE_URL environment variable set:

MUMBLE_URL=my.mumble.server.com mocha

Related Projects

More Repositories

1

node-opus

Opus bindings for Node.js
JavaScript
79
star
2

eslint-plugin-xss

ESLint plugin for XSS detection
JavaScript
67
star
3

intercom

Object based cross-language FFI for Rust
Rust
60
star
4

node-dtls

JavaScript DTLS implementation for Node.js
JavaScript
58
star
5

mumble-web

Node.js browser client for Mumble
JavaScript
56
star
6

node-peerconnection

PeerConnection implementation for Node.js
C++
47
star
7

protofish

Protocol Buffer decoder
Rust
35
star
8

proxide

HTTP2/gRPC debugging proxy
Rust
33
star
9

ghidra-minidump-loader

Windows Minidump loader for Ghidra
Java
20
star
10

node-jitterbuffer

NodeJS binding to Speex Jitter Buffer
C++
15
star
11

node-celt

Celt codec bindings for Node.js
C++
7
star
12

M-Files-SDK

Development tools for authoring M-Files Applications.
C#
3
star
13

mumble-debugger

Mumble protocol debugger
JavaScript
3
star
14

node-cominterop

COM type library proxies for Node.js.
C++
2
star
15

hackberry

Self contained headless embedded development environment for Arduino/Teensy running on a Raspberry Pi
Shell
2
star
16

dmd-clean

Cleaner template for jsdoc2md
JavaScript
1
star
17

gulp-mfiles-appdef

Gulp plugin for transforming appdef.json to M-Files appdef.xml
JavaScript
1
star
18

Jubjubnest.Style.DotNet

Collection of random style rules for .Net style.
C#
1
star
19

serco

Rust service/consumer framework inspired by serde and WCF
Rust
1
star
20

automafish

Automafish is a state machine builder for creating deterministic state machines out of nondeterministic state machine definitions.
Rust
1
star
21

flyduino

JavaScript
1
star
22

metamorfish

A data manipulation library based on CSS-like selectors and mutation actions.
Rust
1
star