SpeechToText-WebSockets-Javascript
SpeechToText-WebSockets-Javascript copied to clipboard
Match against lowercase path in ReceiveMessage
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())