Compare commits

...

1 Commits

Author SHA1 Message Date
Quan HL
8a4ff35744 add asrTimeout to transcribe 2023-07-18 20:27:58 +07:00
2 changed files with 3 additions and 1 deletions

View File

@@ -420,7 +420,8 @@
"id": "string",
"transcriptionHook": "string",
"recognizer": "#recognizer",
"earlyMedia": "boolean"
"earlyMedia": "boolean",
"asrTimeout": "number"
},
"required": [
"transcriptionHook"

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",