Add your OpenTok credentials to the options
hash in app.js
:
const options = {
credentials: {
apiKey: "YOUR_API_KEY",
sessionId: "YOUR_SESSION_ID",
token: "YOUR_TOKEN"
},
...
To run:
$ npm install
$ npm run build
$ node server.js
npm install express --save npm install body-parser --save npm install pitch-detect --save