From 8be7ed1cafff0bf99a9b6cce29ed3bbd5d4bf262 Mon Sep 17 00:00:00 2001 From: nvazquezg Date: Tue, 21 Apr 2020 21:16:59 +0200 Subject: [PATCH] Fix wrong parameter when stopping recorder --- erizo_controller/erizoController/models/Client.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erizo_controller/erizoController/models/Client.js b/erizo_controller/erizoController/models/Client.js index 6c0e922f64..98b22f218b 100644 --- a/erizo_controller/erizoController/models/Client.js +++ b/erizo_controller/erizoController/models/Client.js @@ -735,7 +735,7 @@ class Client extends events.EventEmitter { this.room.streamManager.forEachPublishedStream((stream) => { if (stream.hasExternalOutputSubscriber(url)) { stream.removeExternalOutputSubscriber(url); - this.room.controller.removeExternalOutput(options.id, url, callback); + this.room.controller.removeExternalOutput(stream.id, url, callback); removed = true; } });