fix: voice controls reactivity, disable mic on unsupported browsers
This commit is contained in:
@@ -8,6 +8,7 @@ export class VoiceSession {
|
||||
this.ttsEnabled = false;
|
||||
this.speaking = false;
|
||||
this.listening = false;
|
||||
this.sttAvailable = !!(window.SpeechRecognition || window.webkitSpeechRecognition);
|
||||
this.langIdx = 0;
|
||||
this.term = null;
|
||||
this.ws = null;
|
||||
|
||||
Reference in New Issue
Block a user