• Stars
    star
    613
  • Rank 73,175 (Top 2 %)
  • Language
    JavaScript
  • License
    BSD 4-Clause "Ori...
  • Created over 11 years ago
  • Updated almost 10 years ago

Reviews

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

Repository Details

Secure P2P text, audio and video chats in your browser.

VMUX

Secure P2P text, audio and video chats in your browser using WebRTC

VMUX is a Skype/Hangouts alternative that runs in the browser. It's built on top of WebRTC so you don't need to install any plugins or use Flash. You can do one-to-one or multi-party video calls and all the communications are P2P and encrypted.

You can use it at https://vmux.co

Have any questions? Join the conversation at Gitter

There is also a talk about VMUX from FutureJS here: https://www.youtube.com/watch?v=T6iaHbrxKKQ

Browser support

VMUX works on the lastest stable versions of Chrome, Chrome for Android, Firefox, Firefox for Android and Opera.

For more info about WebRTC browser support go to WebRTC.org.

Getting started

Prerequisite: Redis

If you already have a working Node/NPM environment, should be as easy as:

npm install
gulp
npm start

( if gulp is not installed globally, do npm i -g gulp in a terminal. Use sudo in front of it if you get the EACCESS error. See here for more help )

Point your browser to localhost:5000

Deployment

If you're going to run VMUX in production, make sure you create your own Twitter app for authentication and it's configured properly.

Development

gulp can be used with --debug option to bundle VMUX with source maps which provides debugging with coffescript files to browsers that support it. With --debug and --bundleMode=browserify, source maps are generated at the end of the files site.js and vmux.js. and with --debug-- and --bundleMode=webpack, two additional files are generated, vmux.js.map and site.js.map for source maps.

Firebug debugger provides better results when debugging coffeescript files. Chrome has few bugs with source maps, for example there are some lines where we cannot put a breakpoint (see here).

The default coffeescript compiler is used when you bundle VMUX with gulp (to set it explicitly, you can use the option --coffeeScriptCompiler=coffeeScript) or you can use coffee-script-redux (coffee-script 2) compiler by using coffeeScriptCompiler=coffeeScriptRedux to have a better coffeescript debbuging experience.

You can also change the port by setting PORT value : PORT=4000 npm start and the environment with : NODE_ENV=production npm start

Author

Mauro Pompilio

License

VMUX is released under the BSD license.