Stops the MediaStream using the utility method in RTC.

This commit is contained in:
damencho 2015-10-30 17:32:43 -05:00
parent 1ba0a182f6
commit 8cebbbb347
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ LocalStream.prototype.setMute = function (mute)
} else {
if (mute) {
APP.xmpp.removeStream(this.stream);
this.stream.stop();
APP.RTC.stopMediaStream(this.stream);
this.eventEmitter.emit(eventType, true);
} else {
var self = this;