properly reset voice
This commit is contained in:
parent
7bee29a24b
commit
d9c462ad69
1 changed files with 6 additions and 0 deletions
|
@ -823,6 +823,12 @@ a=rtcp-mux\r`;
|
||||||
this.pc.close();
|
this.pc.close();
|
||||||
this.pc = undefined;
|
this.pc = undefined;
|
||||||
}
|
}
|
||||||
|
this.micTrack?.stop();
|
||||||
|
this.micTrack = undefined;
|
||||||
|
this.micTrack = undefined;
|
||||||
|
this.off = undefined;
|
||||||
|
this.counter = undefined;
|
||||||
|
this.offer = undefined;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
export {Voice, VoiceFactory};
|
export {Voice, VoiceFactory};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue