Stops the MediaStream using the utility method in RTC.
This commit is contained in:
parent
1ba0a182f6
commit
8cebbbb347
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue