stop() {
    if (!this.isActive) return;

    this.stream.disconnect();
    this.rawStream.getTracks().forEach((track) => track.stop());

    this.audioProcessor.disconnect();
    this.audioProcessor.onaudioprocess = null;
    this.audioProcessor = null;

    this.emit('mic-stopped');
  }
Closes the Microphone stream for the browser.