Update to stop streams not just remove them from local storage
This commit is contained in:
parent
aee03026b0
commit
b35d39c248
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue