soniox transcription by node fetch, soniox sdk is depricated and invalid

This commit is contained in:
Hoan HL
2025-11-17 16:00:15 +07:00
parent 8e96527f1c
commit 1c24fe22b0
+2 -1
View File
@@ -62,7 +62,8 @@ function capitalizeFirst(str) {
return str.charAt(0).toUpperCase() + str.slice(1);
}
//https://github.com/soniox/soniox_examples/blob/master/speech_to_text/nodejs/soniox_async.js
// soniox sdk is deplicated and nolonger work to validate api key.
const testSonioxStt = async(logger, credentials) => {
const {api_key} = credentials;
const https = require('https');