mirror of
https://github.com/open-webui/open-webui
synced 2024-11-16 21:42:58 +00:00
refac
This commit is contained in:
parent
39bfc4c8e9
commit
330ad0131c
@ -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 New Issue
Block a user