Fork of github.com/havfo/multiparty-meeting
 
 
 
 
 
 
Go to file
Iñaki Baz Castillo 28b092a1b4 Update mediasoup version 2018-01-04 00:38:29 +01:00
app app: Update dependencies (fixes #15) 2017-12-24 13:39:03 +01:00
server Update mediasoup version 2018-01-04 00:38:29 +01:00
.gitignore v2 2017-11-02 16:38:52 +01:00
README.md Fix README (fixes #14) 2017-12-24 13:27:18 +01:00

README.md

mediasoup-demo

A demo of mediasoup.

Try it online at https://demo.mediasoup.org.

Installation

  • Clone the project:
$ git clone https://github.com/versatica/mediasoup-demo.git
$ cd mediasoup-demo
  • Set up the server:
$ cd server
$ npm install
  • Copy config.example.js as config.js and customize it for your scenario:
$ cp config.example.js config.js
  • Set up the browser app:
$ cd app
$ npm install
  • Globally install gulp-cli NPM module (may need sudo):
$ npm install -g gulp-cli

Run it locally

  • Run the Node.js server application in a terminal:
$ cd server
$ node server.js
  • In another terminal build and run the browser application:
$ cd app
$ gulp live
  • Enjoy.

Deploy it in a server

  • Build the production ready browser application:
$ cd app
$ gulp dist
  • Upload the entire server folder to your server and make your web server (Apache, Nginx...) expose the server/public folder.

  • Edit your server/config.js with appropriate settings (listening IP/port, logging options, valid TLS certificate, etc).

  • Within your server, run the server side Node.js application. We recommend using the pm2 NPM daemon launcher, but any other can be used.

Author

License

All Rights Reserved.