|
Rank: Advanced Member Groups: Member
Joined: 9/3/2014 Posts: 68
|
Hi,
I check EO.WebBrowser supports WebKit SpeechRecognition as part of Chromium engine. Here is the JavaScript code to test:
var recognition = new webkitSpeechRecognition(); recognition.continuous = true; recognition.interimResults = true; recognition.lang = 'en-US'; // Start speech recognition recognition.start();
However, after the speech recognition starts, EO.WebBrowser does not show any kind of popup window to allow to access microphone like Chrome. I see the API is ready there but how can I use microphone to communicate with EO.WebBrowser.
Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
|
|
Rank: Advanced Member Groups: Member
Joined: 9/3/2014 Posts: 68
|
Hi,
I don't see the Speech API available on Google Developers Console now. Google may take this API service offline.
Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
Google has changed something. Now apparently you have to join Chromium developer group in order to use Speech API. You can search "Chromium-dev group" and you should find the group address. They also have a daily limit, so it may not work for you.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 9/3/2014 Posts: 68
|
Hi, Without building my own web page using Chromium Web Speech API, I can use an available demo page from Google at http://www.google.com/intl/en/chrome/demos/speech.htmlThis link works on Chrome, but not on EO.WebBrowser. I guess it should show up Allow/Deny access dialog to have permission to use microphone. How can I have it working on EO.WebBrowser. Thanks.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Hi,
It depends on the Google API key the application used. Google Chrome uses its own API key (most likely that key receive "special" treatment, such as no volume limit). EO.WebBrowser does not have a built-in Google API key so you must supply one. That's why you have to get one from Google first.
Thanks!
|
|
Rank: Advanced Member Groups: Member
Joined: 9/3/2014 Posts: 68
|
It seems to work after I join Chromium-dev group to show Speech API in my Google Developers Console. Then EO.WebBrowser jumps right to use microphone without asking for permission. However, the limit of 50 requests/day is a big disappointed concern. I am thinking to use other solutions.
Thank you.
|
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,196
|
Yes. That's why we mentioned that it has a daily limit so it may not work for you in our early reply. Google controls the API so there isn't much you or us can do about this. As such if you have to use speech recognition in production, you may need to seek another solution.
Thanks!
|
|