From 2d6dfb236392dee7f55298617b6fd655e9363d31 Mon Sep 17 00:00:00 2001 From: cruizba Date: Thu, 10 Sep 2020 11:17:10 +0200 Subject: [PATCH] Revert fix recorder in openvidu-browser --- openvidu-browser/src/OpenVidu/Connection.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openvidu-browser/src/OpenVidu/Connection.ts b/openvidu-browser/src/OpenVidu/Connection.ts index 8dbf38db..2002550b 100644 --- a/openvidu-browser/src/OpenVidu/Connection.ts +++ b/openvidu-browser/src/OpenVidu/Connection.ts @@ -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);