Revert fix recorder in openvidu-browser

pull/600/head
cruizba 2020-09-10 11:17:10 +02:00
parent 904cd7cce7
commit 2d6dfb2363
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ export class Connection {
};
// TODO: CLEAN 2.15.0 LEGACY CODE
// THIS LINE:
const stream = (this.session.openvidu.recorder || this.session.openvidu.openviduServerVersion.startsWith('2.16')) ? new Stream(this.session, streamOptions) : new StreamLEGACY(this.session, streamOptions);
const stream = this.session.openvidu.openviduServerVersion.startsWith('2.16') ? new Stream(this.session, streamOptions) : new StreamLEGACY(this.session, streamOptions);
// SHOULD GET BACK TO:
// const stream = new Stream(this.session, streamOptions);