mirror of
https://github.com/jambonz/jambonz-feature-server.git
synced 2025-12-20 08:40:38 +00:00
wip
This commit is contained in:
@@ -5,6 +5,7 @@ const {
|
|||||||
AwsTranscriptionEvents,
|
AwsTranscriptionEvents,
|
||||||
AzureTranscriptionEvents,
|
AzureTranscriptionEvents,
|
||||||
DeepgramTranscriptionEvents,
|
DeepgramTranscriptionEvents,
|
||||||
|
ElevenlabsTranscriptionEvents,
|
||||||
GladiaTranscriptionEvents,
|
GladiaTranscriptionEvents,
|
||||||
SonioxTranscriptionEvents,
|
SonioxTranscriptionEvents,
|
||||||
CobaltTranscriptionEvents,
|
CobaltTranscriptionEvents,
|
||||||
@@ -492,6 +493,17 @@ class TaskGather extends SttTask {
|
|||||||
this.addCustomEventListener(ep, DeepgramfluxTranscriptionEvents.Error, this._onVendorError.bind(this, cs, ep));
|
this.addCustomEventListener(ep, DeepgramfluxTranscriptionEvents.Error, this._onVendorError.bind(this, cs, ep));
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
case 'elevenlabs':
|
||||||
|
this.bugname = `${this.bugname_prefix}elevenlabs_transcribe`;
|
||||||
|
this.addCustomEventListener(
|
||||||
|
ep, ElevenlabsTranscriptionEvents.Transcription, this._onTranscription.bind(this, cs, ep));
|
||||||
|
this.addCustomEventListener(
|
||||||
|
ep, ElevenlabsTranscriptionEvents.Connect, this._onVendorConnect.bind(this, cs, ep));
|
||||||
|
this.addCustomEventListener(ep, ElevenlabsTranscriptionEvents.ConnectFailure,
|
||||||
|
this._onVendorConnectFailure.bind(this, cs, ep));
|
||||||
|
this.addCustomEventListener(ep, ElevenlabsTranscriptionEvents.Error, this._onVendorError.bind(this, cs, ep));
|
||||||
|
break;
|
||||||
|
|
||||||
case 'gladia':
|
case 'gladia':
|
||||||
this.bugname = `${this.bugname_prefix}gladia_transcribe`;
|
this.bugname = `${this.bugname_prefix}gladia_transcribe`;
|
||||||
this.addCustomEventListener(
|
this.addCustomEventListener(
|
||||||
|
|||||||
@@ -103,6 +103,12 @@
|
|||||||
"Connect": "deepgramflux_transcribe::connect",
|
"Connect": "deepgramflux_transcribe::connect",
|
||||||
"Error": "deepgramflux_transcribe::error"
|
"Error": "deepgramflux_transcribe::error"
|
||||||
},
|
},
|
||||||
|
"ElevenlabsTranscriptionEvents": {
|
||||||
|
"Transcription": "elevenlabs_transcribe::transcription",
|
||||||
|
"ConnectFailure": "elevenlabs_transcribe::connect_failed",
|
||||||
|
"Connect": "elevenlabs_transcribe::connect",
|
||||||
|
"Error": "elevenlabs_transcribe::error"
|
||||||
|
},
|
||||||
"GladiaTranscriptionEvents": {
|
"GladiaTranscriptionEvents": {
|
||||||
"Transcription": "gladia_transcribe::transcription",
|
"Transcription": "gladia_transcribe::transcription",
|
||||||
"ConnectFailure": "gladia_transcribe::connect_failed",
|
"ConnectFailure": "gladia_transcribe::connect_failed",
|
||||||
|
|||||||
Reference in New Issue
Block a user