zqqq / phpdesktop

Automatically exported from code.google.com/p/phpdesktop
0 stars 0 forks source link

Chrome speech recognition returns network error #75

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open google website in phpdesktop
2. Click microphone to start voice input
3. Error message "No internet connection" appears

What is the expected output? What do you see instead?
Voice input should be started.

What version of the product are you using? On what operating system?
I can confirm this behaviour on both phpdesktop-chrome-31.6-php-5.5.8 and 
phpdesktop-chrome-31.6-php-5.4.24. I am currently using Windows 7 64bit.

Please provide any additional information below.
Voice recognition seems to work fine on standard Google Chrome 32.0.1700.102. 
Additionaly speech recognition using input element's flag "x-webkit-speech" is 
working fine in phpdesktop.

Original issue reported on code.google.com by matkrz...@gmail.com on 2 Feb 2014 at 10:25

GoogleCodeExporter commented 9 years ago
The x-webkit-speech on an input worked for me only after I've set the 
--enable-speech-input flag in settings.json:

  "command_line_switches": {
      "enable-speech-input": ""
  },

On the google.com website I get the "No internet connection" message as well.

I've found a related issue in the CEF Issue Tracker:

"CEF3: Linux: x-webkit-speech input fails with "No Internet connection" error"
https://code.google.com/p/chromiumembedded/issues/detail?id=1014

I've commented #5 #6 in that issue with regards to problems on Windows.

Original comment by czarek.t...@gmail.com on 2 Feb 2014 at 11:13

GoogleCodeExporter commented 9 years ago
Thanks for fast response! Of course I forgot to mention that flag that need to 
be set, sorry.

Anyway, maybe you will be able to debug speech recognition inside html input 
element as I mentioned previously which actually works and can be seen e.g. 
here: http://slides.html5rocks.com/#speech-input and see how it differs from 
our failing one?

Original comment by matkrz...@gmail.com on 3 Feb 2014 at 12:07

GoogleCodeExporter commented 9 years ago
Added comment #8 in the CEF issue that compares google speech logs with the 
html5rocks speech logs.

Original comment by czarek.t...@gmail.com on 3 Feb 2014 at 12:17

GoogleCodeExporter commented 9 years ago

Original comment by czarek.t...@gmail.com on 21 Oct 2014 at 10:37