mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 11:57:51 +01:00
refac
This commit is contained in:
@@ -250,6 +250,11 @@
|
|||||||
if (recording && mediaRecorder) {
|
if (recording && mediaRecorder) {
|
||||||
await mediaRecorder.stop();
|
await mediaRecorder.stop();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (speechRecognition) {
|
||||||
|
speechRecognition.stop();
|
||||||
|
}
|
||||||
|
|
||||||
stopDurationCounter();
|
stopDurationCounter();
|
||||||
audioChunks = [];
|
audioChunks = [];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user