Fork of github.com/havfo/multiparty-meeting
 
 
 
 
 
 
Go to file
Iñaki Baz Castillo c66aec2c87 Update to mediasoup 1.2.0 2017-05-05 23:20:54 +02:00
app Update to mediasoup 1.2.0 2017-05-05 23:20:54 +02:00
server Update to mediasoup 1.2.0 2017-05-05 23:20:54 +02:00
.gitignore Make demo public 2017-04-23 14:54:30 +02:00
README.md Improve README. 2017-04-28 18:57:14 +02: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:
$ cp config.example.js config.js
  • Set up the browser app:
$ cd app
$ npm install
  • Copy config.example.js as config.js:
$ cp config.example.js config.js
  • 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 prod
  • 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). Also set the proper remote WebSocket port in client/config.js.

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

$ forever start PATH_TO_SERVER_FOLDER/server.js

Author

License

All Rights Reserved.