From b35d39c2483317ed11dc3f3e5eade26c63cd761d Mon Sep 17 00:00:00 2001 From: Brad Beeler Date: Fri, 30 Oct 2015 14:44:10 -0600 Subject: [PATCH] Update to stop streams not just remove them from local storage --- modules/RTC/RTC.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/RTC/RTC.js b/modules/RTC/RTC.js index 320556067..0742073c8 100644 --- a/modules/RTC/RTC.js +++ b/modules/RTC/RTC.js @@ -159,6 +159,7 @@ var RTC = { // Remove all local streams on cleanup while (this.localStreams.length > 0) { var stream = this.localStreams[0]; + this.stopLocalStream(stream.getOriginalStream()); this.removeLocalStream(stream.getOriginalStream()); } if (eventEmitter) {