Commit Graph

27 Commits

Author SHA1 Message Date
Dave Horton
07dddd0094 fix deadlock bug 2024-03-29 19:55:16 -04:00
Andrew Golledge
14297ce3a6 Handle grpc_read_thread exit by always firing an event (#27)
* Ensure an event is triggered when the grpc_read_thread exits in all cases

* Compare correct status codes for v1 and v2

* Add sign-off to previous commit

Signed-off-by: Andrew Golledge <andreas.golledge@gmail.com>

---------

Signed-off-by: Andrew Golledge <andreas.golledge@gmail.com>
2024-03-26 09:18:56 -04:00
Dave Horton
48aeedec0a bug: fix crashing race condition in mod_dub 1.1.1 2024-03-25 18:14:54 -04:00
Hoan Luu Huu
be6758c3a8 support azure tts stream (#13)
* support azure stream

* delete trash file

* wip

* wip

* wip

* wip

* wip

* wip

* wip

* fire variable_tts_time_to_first_byte_ms
2024-03-24 09:18:38 -04:00
Dave Horton
74bfc3152f fix build errors 1.1.0 2024-03-23 20:23:13 -04:00
Dave Horton
9cdc5fdfca Feat/mod dub v2 (#22)
* support tts elevenlabs to mod_dub

Signed-off-by: Quan HL <quan.luuhoang8@gmail.com>

* wip

Signed-off-by: Quan HL <quan.luuhoang8@gmail.com>

* wip

* wip

* fix aws race condition when 2 start transcribes are sent at the same instant

* wip

* wip

* wip

* allow queue play on track

* wip

Signed-off-by: Quan HL <quan.luuhoang8@gmail.com>

* revert change for aws transcribe

Signed-off-by: Quan HL <quan.luuhoang8@gmail.com>

* fix type

* wip

* wip

* rename parameters

* rename paramters

* wip

* wip

* wip

* wip

* wip

* bug: there exists scenarios where callback is not defined

* wip

* wip

* revert unintended changes to mod_google_transcribe

* fix bugs w/ streaming tts simplified arg parsing to use freeswitch conventions

---------

Signed-off-by: Quan HL <quan.luuhoang8@gmail.com>
Co-authored-by: Quan HL <quan.luuhoang8@gmail.com>
2024-03-23 15:37:27 -04:00
Andrew Golledge
4e57f73c7e Add Support for Google Cloud Speech-To-Text V2 library in mod_google_transcribe (#23)
* Introduce Google Speech-To-Text V2 library

* Add sign-off to previous commit

Signed-off-by: Andrew Golledge <andreas.golledge@gmail.com>

---------

Signed-off-by: Andrew Golledge <andreas.golledge@gmail.com>
2024-03-23 12:02:48 -04:00
Dave Horton
4925d31f95 add -L/usr/local/lib for aws modules 1.0.11 2024-03-13 15:24:56 -04:00
Dave Horton
15c41d8884 further fix for aws transcribe race condition 1.0.10 2024-03-12 12:23:58 -04:00
Dave Horton
b606255206 add mod_dub (#16)
* add mod_dub

Signed-off-by: Dave Horton <daveh@beachdognet.com>

* remove some locks

---------

Signed-off-by: Dave Horton <daveh@beachdognet.com>
2024-03-12 09:56:49 -04:00
Hoan Luu Huu
d6ae0a6a39 fix elevenlabs and whisper for multiple codec (#14)
* fix elevenlabs and whisper for multiple codec

Signed-off-by: Quan HL <quan.luuhoang8@gmail.com>

* fix review comments

Signed-off-by: Quan HL <quan.luuhoang8@gmail.com>

---------

Signed-off-by: Quan HL <quan.luuhoang8@gmail.com>
2024-03-12 09:52:35 -04:00
Dave Horton
06ab877f68 fix aws race condition when 2 start transcribes are sent at the same instant 1.0.9 2024-03-11 13:57:15 -04:00
Hoan Luu Huu
92dd3fc854 enable azure language identification mode (#15)
Signed-off-by: Quan HL <quan.luuhoang8@gmail.com>
2024-03-08 10:12:33 -05:00
Hoan Luu Huu
b4f3a41913 whisper tts stream module (#8)
* whisper tts stream module

* add convert mp3 to linear

* add lmpg123 link

* wip

* whisper cache

* wip

* wip

* clean up

* add free mem and openai metric

* whisper: cache files as mp3 for simplicity

---------

Co-authored-by: Dave Horton <daveh@beachdognet.com>
1.0.8
2024-02-22 14:17:13 -05:00
Dave Horton
bbcabdd927 update deepgram model defaults, enable interim results when using utterance_end_ms 1.0.6 1.0.7 2024-02-12 10:47:52 -05:00
Dave Horton
35ab8089a7 remove tier prop from deepgram 1.0.5 2024-02-10 15:13:27 -05:00
Dave Horton
d94b252504 add support for deepgram on-prem (#10)
* add option for tls with on prem uri

Signed-off-by: Dave Horton <daveh@beachdognet.com>

* -s

logging

---------

Signed-off-by: Dave Horton <daveh@beachdognet.com>
2024-02-06 08:44:45 -05:00
Dave Horton
b2c3090a81 remove code that was clearing cache folder on module restart, since multiple modules may be using this 2024-02-05 08:15:19 -05:00
Hoan Luu Huu
3edb4a47f2 Support elevenlabs TTS streaming api (#7)
* added module for using eleven labs tts

* wip

Signed-off-by: Dave Horton <daveh@beachdognet.com>

* fixes for caching streaming file

* elevenlabs: fix issue that caused issue after mod_reload

* return final response code in playback stopped event

* send error if tts fails

---------

Signed-off-by: Dave Horton <daveh@beachdognet.com>
Co-authored-by: Dave Horton <daveh@beachdognet.com>
2024-01-31 07:35:20 -08:00
Dave Horton
7c45b53690 fix: return empty deepgram transcripts that signify an endpoint
Signed-off-by: Dave Horton <daveh@beachdognet.com>
1.0.4
2024-01-14 13:31:20 -05:00
Dave Horton
9e3783e138 update default model selection to latest api (#5)
* update default model selection to latest api

Signed-off-by: Dave Horton <daveh@beachdognet.com>

* further fix

Signed-off-by: Dave Horton <daveh@beachdognet.com>

---------

Signed-off-by: Dave Horton <daveh@beachdognet.com>
1.0.3
2024-01-14 10:34:01 -05:00
Dave Horton
9fc8b1af97 Fix/audio pipe (#4)
* use explicit namespaces for mod_audio_fork

* fix crash in reload scenarios

Signed-off-by: Dave Horton <daveh@beachdognet.com>

---------

Signed-off-by: Dave Horton <daveh@beachdognet.com>
1.0.2
2023-12-27 11:10:57 -05:00
Dave Horton
3f50aaf0d7 deepgram fixes (#3)
* more license stuff

Signed-off-by: Dave Horton <daveh@beachdognet.com>

* cleanup

Signed-off-by: Dave Horton <daveh@beachdognet.com>

* cleanup

Signed-off-by: Dave Horton <daveh@beachdognet.com>

* cleanup

Signed-off-by: Dave Horton <daveh@beachdognet.com>

* deepgram fixes: proper use of bugname

---------

Signed-off-by: Dave Horton <daveh@beachdognet.com>
1.0.1
2023-12-26 20:35:09 -05:00
Dave Horton
0bdb4a1e32 more license stuff (#2)
* more license stuff

Signed-off-by: Dave Horton <daveh@beachdognet.com>

* cleanup

Signed-off-by: Dave Horton <daveh@beachdognet.com>

* cleanup

Signed-off-by: Dave Horton <daveh@beachdognet.com>

* cleanup

Signed-off-by: Dave Horton <daveh@beachdognet.com>

---------

Signed-off-by: Dave Horton <daveh@beachdognet.com>
2023-12-26 12:12:01 -05:00
Dave Horton
bbe42eb4d1 Licensing (#1)
* Licensing

Signed-off-by: Dave Horton <daveh@beachdognet.com>

* typo

Signed-off-by: Dave Horton <daveh@beachdognet.com>

* cleanup

Signed-off-by: Dave Horton <daveh@beachdognet.com>

* more license cleanup

Signed-off-by: Dave Horton <daveh@beachdognet.com>

* more cleanup

Signed-off-by: Dave Horton <daveh@beachdognet.com>

* more cleanup

Signed-off-by: Dave Horton <daveh@beachdognet.com>

---------

Signed-off-by: Dave Horton <daveh@beachdognet.com>
2023-12-26 11:59:40 -05:00
Dave Horton
420e51eac7 eliminate support for multiple lws threads as part of fixing valgrind errors
Signed-off-by: Dave Horton <daveh@beachdognet.com>
2023-12-26 10:57:15 -05:00
Dave Horton
a2324972eb Initial commit 2023-12-15 08:51:45 -05:00