add asrTimeout to transcribe

This commit is contained in:
Quan HL
2023-07-18 20:27:58 +07:00
parent 6e819279d1
commit 8a4ff35744
2 changed files with 3 additions and 1 deletions
+2 -1
View File
@@ -420,7 +420,8 @@
"id": "string",
"transcriptionHook": "string",
"recognizer": "#recognizer",
"earlyMedia": "boolean"
"earlyMedia": "boolean",
"asrTimeout": "number"
},
"required": [
"transcriptionHook"
+1
View File
@@ -269,6 +269,7 @@ test("validate correct verbs", async (t) => {
{
"verb": "transcribe",
"transcriptionHook": "http://example.com/transcribe",
"asrTimeout": 10,
"recognizer": {
"vendor": "nvidia",
"language" : "en-US",