Repository files navigation
Procfile is required to run the nodejs app on Heroku
package.json contains all npm modules to run the app
app.js contains all server side code
config.js contains configurations: TokBox credentials, p2p mesh support, Redis support, reserved rooms, etc.
lib folder contains all the code to handle configurations: p2p mesh support, Redis support, reserved rooms, etc.
views folder contains the html template for the app
public/css folder contains all the css for the app.
Look for files with .scss extensions. .css files are generated from sass.
public/js contains the front end code and interactions with OpenTok SDK.
Clone this repo
Get my API Key and Secret from TokBox
Replace OTKEY and OTSECRET with your corresponding API Key and Secret in app.js
Run npm install to install the necessary packages
Start the server with node app.js
Deploying this app to your own host (Heroku):
Clone this repo
Go into the cloned repo: cd OpenTokRTC
Create a heroku app: heroku create appName
Add your TokBox apiKey and secret credentials in config.js or set Heroku's environment variables
Push to remote heroku repository: git push heroku master
Visit your app
About
Modified OpenTokRTC demo
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.