Skip to content

Commit 604fe25

Browse files
authored
Merge pull request #34 from nylki/patch-1
typo in readme: ResultStrean -> ResultStream [ci skip]
2 parents 2083ede + 83c88bb commit 604fe25

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ There have been a few breaking changes in recent releases:
129129
* Removed `SpeechToText.recognizeElement()` due to quality issues. The code is [avaliable in an (unsupported) example](https://github.com/watson-developer-cloud/speech-javascript-sdk/tree/master/examples/static/audio-video-deprecated) if you wish to use it with current releases of the SDK.
130130
* renamed `recognizeBlob` to `recognizeFile` to make the primary usage more apparent
131131
* Changed `playFile` option of `recognizeBlob()` to just `play`, corrected default
132-
* Changed format of objects emitted in objectMode to exactly match what service sends. Added `ResultStrean` class and `extract_results` option to enable older behavior.
132+
* Changed format of objects emitted in objectMode to exactly match what service sends. Added `ResultStream` class and `extract_results` option to enable older behavior.
133133
* Changed `playback-error` event to just `error` when recognizing and playing a file. Check for `error.name == 'UNSUPPORTED_FORMAT'` to identify playback errors. This error is special in that it does not stop the streaming of results.
134134
* Renamed `recognizeFile()`'s `data` option to `file` because it now may be a URL. Using a URL enables faster playback and mobile Safari support
135135

0 commit comments

Comments
 (0)