Kaljurand / dictate.js

A small Javascript library for browser-based real-time speech recognition, which uses Recorderjs for audio capture, and a WebSocket connection to the Kaldi GStreamer server for speech recognition.
https://kaljurand.github.io/dictate.js/
BSD 3-Clause "New" or "Revised" License
215 stars 61 forks source link

Default to null server status handler #3

Closed gpoole closed 9 years ago

gpoole commented 9 years ago

The rest of the code assumes server status will be a function or false-ish, so defaulting to an object breaks some parts of the code if a server status callback isn't defined in the options.