Hi,

I've used the code following to connect google cloud speech, but I haven't 
receive a response. Please show me how to connect to google cloud speech 
using gRPC C++.
*..*
*using google::cloud::speech::v1beta1::Speech;*

*class GoogleClient {*
* public:*
* GoogleClient(std::shared_ptr<Channel> channel)*
*      : stub_(Speech::NewStub(channel)) {}*
* private:*
*  std::unique_ptr<Speech::Stub> stub_;*
*};*

*int main(int argc, char** argv) {*

* auto channel_creds = grpc::GoogleDefaultCredentials();*
* auto channel = grpc::CreateChannel("speech.googleapis.com:443", 
channel_creds);*
* GoogleClient ggclient(channel);*
*..*
*}*

Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/01a8868d-da61-4764-b9b4-3e6585a84a69%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to