Stops the MediaStream using the utility method in RTC.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user