WebRTC API wrapper to deal with different browsers transparently, eventually this library shouldn't be needed. We only have to wait until W3C group in charge finishes the specification and the different browsers implement it correctly 😅.
- Google Chrome (desktop & mobile)
- Google Canary (desktop & mobile)
- Mozilla Firefox (desktop & mobile)
- Firefox Nigthly (desktop & mobile)
- Cordova: iOS support, you only have to use our plugin following these steps.
$ npm install rtcninja
var rtcninja = ;
$ bower install rtcninja
Take a browserified version of the library from the
dist/rtcninja.js: The uncompressed version.
dist/rtcninja.min.js: The compressed production-ready version.
They expose the global
In the examples folder we provide a complete one.
// Must first call it.;// Then check.if rtcninja// Do something.else// Do something.
You can read the full API documentation in the docs folder.
- Create a branch with a name including your user and a meaningful word about the fix/feature you're going to implement, ie: "jesusprubio/fixstuff"
- Use GitHub pull requests.
- We use JSHint and Crockford's Styleguide.
- Please run
gulp lintto be sure your code fits with them.
The library includes the Node debug module. In order to enable debugging:
In Node set the
DEBUG=rtcninja* environment variable before running the application, or set it at the top of the script:
processenvDEBUG = 'rtcninja*';
In the browser run
rtcninja.debug.enable('rtcninja*'); and reload the page. Note that the debugging settings are stored into the browser LocalStorage. To disable it run
Copyright & License
- eFace2Face Inc.