Skip to content

Commit

Permalink
Bugfixing of speech-to-text component
Browse files Browse the repository at this point in the history
  • Loading branch information
jschm42 committed May 7, 2024
1 parent f858b2a commit 4d1c4eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/common/WhisperComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export default {

const startRecording = async () => {
console.log('Start recording');
isRecording = true;
isRecording.value = true;

mediaStream = await navigator.mediaDevices.getUserMedia({audio: true});
recorder = new RecordRTC(mediaStream, {
Expand Down Expand Up @@ -78,7 +78,7 @@ export default {
} catch (e) {
console.error('Failed to send audio file: ', e);
} finally {
isRecording = false;
isRecording.value = false;
}
};

Expand Down

0 comments on commit 4d1c4eb

Please sign in to comment.