watson-developer-cloud / speech-javascript-sdk

Library for using the IBM Watson Speech to Text and Text to Speech services in web browsers.
https://watson-speech.mybluemix.net/
260 stars 133 forks source link

Error Uncaught TypeError: Cannot read property 'map' of undefined at example microphone-alternatives.html #24

Closed leandrodvd closed 7 years ago

leandrodvd commented 7 years ago

Hi,

I'm running the example code microphone-alternatives.html and I got this error in the console (and get no result on screen). I'm using chrome for this but there is a similar error on firefox.

microphone-alternatives.html:52 Uncaught TypeError: Cannot read property 'map' of undefined at FormatStream. (microphone-alternatives.html:52) at FormatStream.EventEmitter.emit (events.js:81) at readableAddChunk (_stream_readable.js:201) at FormatStream.Readable.push (_stream_readable.js:165) at FormatStream.Transform.push (_stream_transform.js:133) at FormatStream.formatResult (format-stream.js:93) at FormatStream.Transform._read (_stream_transform.js:172) at FormatStream.Transform._write (_stream_transform.js:160) at doWrite (_stream_writable.js:335) at writeOrBuffer (_stream_writable.js:321)

nfriedly commented 7 years ago

Hey, sorry, I believe this is fixed now. There's also a copy of it online: https://watson-speech.mybluemix.net/microphone-alternatives.html