Created
April 8, 2020 12:28
-
-
Save savelee/7d78feb8f956cb981dfd034ab7acc151 to your computer and use it in GitHub Desktop.
Speech to Text - Streaming
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 1) | |
speechClient = new speech.SpeechClient(); | |
// 2) | |
request = { | |
config: { | |
sampleRateHertz: sampleRateHertz, | |
encoding: encoding, | |
languageCode: languageCode | |
}, | |
interimResults: interimResults | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment