Skip to content

Commit

Permalink
Update recordManager.js
Browse files Browse the repository at this point in the history
  • Loading branch information
plutoless authored Nov 6, 2019
1 parent e418d27 commit b3f39d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions On-Premise-Recording-Nodejs/server/recordManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ class RecordManager{
};
sdk.setMixLayout(layout);

this.subscribeEvents(recorder);
sdk.joinChannel(key || null, channel, 0, appid, storagePath).then(() => {
this.subscribeEvents(recorder);
this.recorders[sid] = recorder;
console.log(`recorder started ${appid} ${channel} ${sid}`)
resolve(recorder);
Expand Down Expand Up @@ -158,4 +158,4 @@ class RecordManager{



module.exports = new RecordManager();
module.exports = new RecordManager();

0 comments on commit b3f39d6

Please sign in to comment.