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) {