Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

Reduce chunk interval to 5 seconds for less overhead during recording

Murtaza Nasir9ab57639705b
diff --git a/static/js/modules/composables/audio.js b/static/js/modules/composables/audio.js
index afe219df..2b60626c 100644
--- a/static/js/modules/composables/audio.js
+++ b/static/js/modules/composables/audio.js
@@ -401,7 +401,7 @@ export function useAudio(state, utils) {
};
mediaRecorder.value = recorder;
- recorder.start(1000);
+ recorder.start(5000); // 5-second chunks for less overhead while still enabling crash recovery
isRecording.value = true;
// Start timer