support jambonz transcribe sampling rate (#59)

* support jambonz transcribe sampling rate

* fix review comment
This commit is contained in:
Hoan Luu Huu
2024-08-07 21:04:30 +07:00
committed by GitHub
parent 0d8b9de099
commit 1d8cf321a7
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -662,6 +662,7 @@
"properties": {
"authToken": "string",
"uri": "string",
"sampleRate": "number",
"options": "object"
},
"required": [
+11
View File
@@ -447,6 +447,17 @@ test("validate correct verbs", async (t) => {
"interim": true
}
},
{
"verb": "transcribe",
"transcriptionHook": "http://example.com/transcribe",
"recognizer": {
"vendor": "nvidia",
"language" : "en-US",
"customOptions": {
"sampleRate": 16000
}
}
},
{
"verb": "transcribe",
"transcriptionHook": "http://example.com/transcribe",