mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 12:25:20 +00:00
refac
This commit is contained in:
parent
39bfc4c8e9
commit
330ad0131c
1 changed files with 5 additions and 0 deletions
|
|
@ -250,6 +250,11 @@
|
||||||
if (recording && mediaRecorder) {
|
if (recording && mediaRecorder) {
|
||||||
await mediaRecorder.stop();
|
await mediaRecorder.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (speechRecognition) {
|
||||||
|
speechRecognition.stop();
|
||||||
|
}
|
||||||
|
|
||||||
stopDurationCounter();
|
stopDurationCounter();
|
||||||
audioChunks = [];
|
audioChunks = [];
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue