Skip to content

Commit

Permalink
bugfix so mic active icon disappears after recording stopped
Browse files Browse the repository at this point in the history
  • Loading branch information
hinanaya committed May 20, 2024
1 parent a964fdc commit 18f53ed
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ui/fields/media.js
Original file line number Diff line number Diff line change
Expand Up @@ -437,6 +437,8 @@ class OBFieldMedia extends OBField {
});
}
this.#mediaRecorder.stop();
this.#mediaRecorder.stream.getTracks().forEach(track => track.stop());
this.#mediaRecorder = null;
}

mediaRecordSave(event) {
Expand Down

0 comments on commit 18f53ed

Please sign in to comment.