How to list and allow selection of input devices to be used for WebSpeech API?

Viewed 103

Is there a way to programmatically list available input devices and allow to change the current one being used for the WebSpeech API?

I'm aware Chrome shows a video icon on the address bar where a device can be chosen, but I want to make this setting available on the web app itself.

2 Answers

Sorry to burst your buble but it can't be done, the only way to have access to the devices is using the system API's and the web browser limits your access to specific API's that he chooses to expose, unfortunately for you the device related ones are not exposed.

On a side note, think of the repercussions of exposing your devices to every website you visit...

Related