watson-developer-cloud / speech-to-text-nodejs

:microphone: Sample Node.js Application for the IBM Watson Speech to Text Service
https://speech-to-text-demo.ng.bluemix.net
Apache License 2.0
1.11k stars 706 forks source link

Mac Record Audio issue #155

Closed carlosaq closed 6 years ago

carlosaq commented 7 years ago

Hi, when tried to use the "Record Audio" button on the demo in Mac, I receive the next message "could not detect endianness after looking at the tail 0 non-zero byte string in a data stream of 144942 bytes. Is the bytestream really PCM data?". I tested on tree different Mac laptops and receive the same message, some ideas about how can solve it?

nfriedly commented 7 years ago

That's strange, it works reliably on my mac. What browser & version are you using?

Also, does this page work? https://watson-speech.mybluemix.net/microphone-streaming.html

iankit3 commented 7 years ago

I think this is because you are not giving the speakers any input @carlosaq , Please check your microphone input then try and let us know . :)

germanattanasio commented 7 years ago

I checked and it's working for me. Please reopen if that's not the case for you @carlosaq

vperrinfr commented 7 years ago

Hi, I have the same error on my Mac. I have the same behavior on this page : https://watson-speech.mybluemix.net/microphone-streaming.html

1/ I have tested my "internal" microphone it works fine for other "native" apps on the mac. 2/ I have tested with an external microphone and in that case it works fine. Audio is captured.

Any ideas ?

Thanks

germanattanasio commented 7 years ago

I think you need to update your browser.

vperrinfr commented 7 years ago

Well done. Problem solved.. I just updated to Version 60.0.3112.113 (Official Build) (64-bit) and it works fine now...

germanattanasio commented 6 years ago

This issue is fairly old and there hasn't been much activity on it. Closing, but please re-open if it still occurs.