Skip to content
This repository has been archived by the owner on Aug 30, 2020. It is now read-only.

"Use browser microphone" not working #231

Open
FlorinAcsinte opened this issue May 31, 2020 · 0 comments
Open

"Use browser microphone" not working #231

FlorinAcsinte opened this issue May 31, 2020 · 0 comments

Comments

@FlorinAcsinte
Copy link

FlorinAcsinte commented May 31, 2020

Hi. Just installed Rhasspy as a HomeAssistant addon.
Trying to use the browser microphone fails.

TranscribeSpeech.vue:264 Uncaught TypeError: Cannot read property 'getUserMedia' of undefined at u.getMicrophonePermission (TranscribeSpeech.vue:264) at n (vue.runtime.esm.js:2023) at HTMLInputElement.t._withTask.t._withTask (vue.runtime.esm.js:1822) getMicrophonePermission @ app.e552a466.js:1 n @ vue.runtime.esm.js:8 t._withTask.t._withTask @ vue.runtime.esm.js:8

TranscribeSpeech.vue:264 Uncaught TypeError: Cannot read property 'getUserMedia' of undefined at u.getMicrophonePermission (TranscribeSpeech.vue:264) at u.startRecording (TranscribeSpeech.vue:191) at n (vue.runtime.esm.js:2023) at HTMLButtonElement.t._withTask.t._withTask (vue.runtime.esm.js:1822) getMicrophonePermission @ app.e552a466.js:1 startRecording @ app.e552a466.js:1 n @ vue.runtime.esm.js:8 t._withTask.t._withTask @ vue.runtime.esm.js:8

TranscribeSpeech.vue:204 Uncaught TypeError: Cannot read property 'stop' of null at u.stopRecording (TranscribeSpeech.vue:204) at n (vue.runtime.esm.js:2023) at HTMLButtonElement.t._withTask.t._withTask (vue.runtime.esm.js:1822) stopRecording @ app.e552a466.js:1 n @ vue.runtime.esm.js:8 t._withTask.t._withTask @ vue.runtime.esm.js:8

From those 3 errors, 1st one comes up when selecting "Use browser microhpone", 2nd one comes up when holding the button, 3rd one when releasing it.

Tried using https and http, did not make a difference.
Weird thing is that the browser never asked me for microphone permissions, so it might be something related to that..

Tried this on chrome and firefox, on macos, and with firefox on ubuntu 19.10.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant