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 197ac58 commit cd9432bCopy full SHA for cd9432b
speech-to-text/recognize-stream.js
@@ -146,8 +146,7 @@ function RecognizeStream(options) {
146
if (event === 'results' || event === 'result') {
147
self.removeListener('newListener', flowForResults);
148
process.nextTick(function() {
149
- self.on('data', function() {
150
- }); // todo: is there a better way to put a stream in flowing mode?
+ self.resume(); // put this stream in flowing mode
151
});
152
if (!options.silent) {
153
// todo: move this to the node.js wrapper
0 commit comments