-
Notifications
You must be signed in to change notification settings - Fork 48
Mumble
Frederick Gnodtke edited this page May 2, 2015
·
1 revision
Require this module by using var Mumble = require('mumble');.
Call this method to open a new Connection.
- url: The host to connect to. This could for example be "example.org" or "mumble://example.org".
- options: This is an object holding some options for the connection.
- options.key: Private key used to create a secure TLS connection. Have a look at the node tls documentation for information on how to generate it.
- options.cert: Certificate used to create a secure TLS connection. Have a look at the node tls documentation for information on how to generate it.
- options.celtVersion: Used to specify a specific version of the CELT encoder to use.
-
done: This is a callback which will be called once the connection was set up and is ready for use. It should have the following method signature:
function(error, connection) { ... }.