mirror of
https://github.com/jambonz/freeswitch-modules.git
synced 2026-01-25 02:08:27 +00:00
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>
This commit is contained in:
1 parent
4e57f73c7e
commit
9cdc5fdfca
23 files changed
+1907
-1612
No files matched your search
+5
-5
@@ -4,11 +4,11 @@
|
||||
switch_status_t dub_init();
|
||||
switch_status_t dub_cleanup();
|
||||
|
||||
void init_dub_track(dub_track_t *track, char* trackName, int sampleRate);
|
||||
switch_status_t silence_dub_track(dub_track_t *track);
|
||||
switch_status_t remove_dub_track(dub_track_t *track);
|
||||
switch_status_t play_dub_track(dub_track_t *track, switch_mutex_t *mutex, char* url, int loop, int gain);
|
||||
switch_status_t say_dub_track(dub_track_t *track, switch_mutex_t *mutex, char* text, int gain);
|
||||
switch_status_t add_track(struct cap_cb* cb, char* trackName, int sampleRate);
|
||||
switch_status_t silence_dub_track(struct cap_cb* cb, char* trackName);
|
||||
switch_status_t remove_dub_track(struct cap_cb* cb, char* trackName);
|
||||
switch_status_t play_dub_track(struct cap_cb* cb, char* trackName, char* url, int loop, int gain);
|
||||
switch_status_t say_dub_track(struct cap_cb* cb, char* trackName, char* text, int gain);
|
||||
|
||||
switch_status_t dub_session_cleanup(switch_core_session_t *session, int channelIsClosing, switch_media_bug_t *bug);
|
||||
switch_bool_t dub_speech_frame(switch_media_bug_t *bug, void* user_data);
|
||||
|
||||
Reference in new issue
Block a user