#include "cogrob/cloud/speech/google_speech.h"
#include <grpc++/grpc++.h>
#include <grpc/impl/codegen/connectivity_state.h>
#include <chrono>
#include <memory>
#include <string>
#include <utility>
#include <vector>
#include "google/cloud/speech/v1/cloud_speech.grpc.pb.h"
#include "third_party/gflags.h"
#include "third_party/glog.h"
Go to the source code of this file.
|
| DEFINE_int32 (grpc_speech_connect_timeout_secs, 5,"Timeout (seconds) to connect to gRPC service.") |
|
| DEFINE_int32 (gspeech_wait_input_timeout_msecs, 100,"Timeout (seconds) to wait for input samples.") |
|
DEFINE_int32 |
( |
grpc_speech_connect_timeout_secs |
, |
|
|
5 |
, |
|
|
"Timeout (seconds) to connect to gRPC service." |
|
|
) |
| |
DEFINE_int32 |
( |
gspeech_wait_input_timeout_msecs |
, |
|
|
100 |
, |
|
|
"Timeout (seconds) to wait for input samples." |
|
|
) |
| |