This commit is contained in:
Dave Horton committed 2024-08-16 08:36:15 -04:00
1 parent 20bdcb6687
commit ec00c91c0c
8 files changed
+424 -611

No files matched your search

+5 -5
View File
@@ -1,12 +1,12 @@
#ifndef __GOOGLE_GLUE_H__
#define __GOOGLE_GLUE_H__
switch_status_t google_dialogflow_init();
switch_status_t google_dialogflow_cleanup();
switch_status_t google_dialogflow_session_init(switch_core_session_t *session, responseHandler_t responseHandler, errorHandler_t errorHandler,
switch_status_t google_dialogflow_cx_init();
switch_status_t google_dialogflow_cx_cleanup();
switch_status_t google_dialogflow_cx_session_init(switch_core_session_t *session, responseHandler_t responseHandler, errorHandler_t errorHandler,
uint32_t samples_per_second, char* lang, char* projectId, char* welcomeEvent, char *text, struct cap_cb **cb);
switch_status_t google_dialogflow_session_stop(switch_core_session_t *session, int channelIsClosing);
switch_bool_t google_dialogflow_frame(switch_media_bug_t *bug, void* user_data);
switch_status_t google_dialogflow_cx_session_stop(switch_core_session_t *session, int channelIsClosing);
switch_bool_t google_dialogflow_cx_frame(switch_media_bug_t *bug, void* user_data);
void destroyChannelUserData(struct cap_cb* cb);
#endif