Skip to content

Commit

Permalink
Merge pull request #47 from citomcclure/feature/46-bugfix-repeat-voic…
Browse files Browse the repository at this point in the history
…e-notes

Bugfix: Repeat voice notes
  • Loading branch information
citomcclure authored Jun 19, 2024
2 parents b862047 + 9e50676 commit 7fd3391
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/src/components/audioRecording.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,9 @@ export default class audioRecording extends BindingClass {
mediaRecorder.onstop = (ev)=>{
const mimeType = mediaRecorder.mimeType;
let blob = new Blob(chunks, { type: mimeType });

// Remove data for next use
chunks = [];

this.createVoiceNote(blob);
}
Expand Down

0 comments on commit 7fd3391

Please sign in to comment.