Skip to content

Commit

Permalink
STT: fix bug with setting params with createRecognizeStream, default …
Browse files Browse the repository at this point in the history
…continuous to true to avoid issues

Fixes #202
  • Loading branch information
nfriedly committed Jan 12, 2016
1 parent ec00ce8 commit a9effb3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/speech_to_text/v1.js
Original file line number Diff line number Diff line change
Expand Up @@ -365,9 +365,9 @@ function RecognizeStream(options){
// todo: confirm the mixed underscores/hyphens and/or get it fixed
action: 'start',
'content-type': 'audio/wav', // todo: try to determine content-type from the file extension if available
'continuous': false,
'continuous': true,
'interim_results': true
}, pick(options, [PARAMS_ALLOWED]));
}, pick(options, PARAMS_ALLOWED));

var closingMessage = {action: 'stop'};

Expand Down

0 comments on commit a9effb3

Please sign in to comment.