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>
This commit is contained in:
Andrew Golledge authored and GitHub committed 2024-03-23 12:02:48 -04:00
1 parent 4925d31f95
commit 4e57f73c7e
9 files changed
+1296 -780

No files matched your search

@@ -37,6 +37,10 @@ struct cap_cb {
#else
/* per-channel data */
typedef void (*responseHandler_t)(switch_core_session_t* session, const char* json, const char* bugname);
typedef enum GoogleCloudServiceVersion {
GoogleCloudServiceVersion_v1,
GoogleCloudServiceVersion_v2
} GoogleCloudServiceVersion;
struct cap_cb {
switch_mutex_t *mutex;