SpeechToText-WebSockets-Javascript icon indicating copy to clipboard operation
SpeechToText-WebSockets-Javascript copied to clipboard

Match against lowercase path in ReceiveMessage

Open ligustah opened this issue 7 years ago • 0 comments

Hello there,

I haven't tried running the code, but while looking over it I noticed that the code in ReceiveMessage doesn't use lowercase when matching for speech.startDetected, which means it can never emit that message and will instead silently drop it (since it compares against connectionMessage.Path.toLowerCase())

ligustah avatar Jul 20 '18 13:07 ligustah