We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dde287 commit 3ffc2f7Copy full SHA for 3ffc2f7
CHANGELOG.md
@@ -1,5 +1,8 @@
1
# Changelog
2
3
+### v0.30.2
4
+* Fixed error message when source ends before websocket connection is opened.
5
+
6
### v0.30.1
7
* added recognizeMicrophone.isSupported flag (checks for getUserMedia, assumes other features will be there if that one is)
8
speech-to-text/recognize-stream.js
@@ -379,7 +379,7 @@ RecognizeStream.prototype.finish = function finish() {
379
if (self.socket && self.socket.readyState === self.socket.OPEN) {
380
self.sendJSON(closingMessage);
381
} else {
382
- this.once('connect', function() {
+ this.once('open', function() {
383
384
});
385
}
0 commit comments