properly reset voice
This commit is contained in:
@@ -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};
|
||||||
|
Reference in New Issue
Block a user