#include "stte.h"
-#define CLIENT_CLEAN_UP_TIME 500
-
-static Ecore_Timer* g_check_client_timer = NULL;
-
int stte_main(int argc, char**argv, stte_request_callback_s *callback)
{
SLOG(LOG_DEBUG, TAG_STTD, "===== Start engine");
stt_network_initialize();
- g_check_client_timer = ecore_timer_add(CLIENT_CLEAN_UP_TIME, sttd_cleanup_client, NULL);
- if (NULL == g_check_client_timer) {
- SLOG(LOG_WARN, TAG_STTD, "[Main Warning] Fail to create timer of client check");
- }
-
SLOG(LOG_DEBUG, TAG_STTD, "[Main] stt-service start...");
SLOG(LOG_DEBUG, TAG_STTD, "=====");
SLOG(LOG_ERROR, TAG_STTD, "[Server ERROR] Fail to send speech status");
}
return ret;
-}
+}
\ No newline at end of file