nfultz / grpc

gRPC clients and servers in R
72 stars 24 forks source link

Is this suitable for supporting google speech API? #12

Open MarkEdmondson1234 opened 6 years ago

MarkEdmondson1234 commented 6 years ago

Hello! I just found this whilst looking for solutions to stream Google Speech API transcriptions from/to R, since the docs state that this is only available through RPC

https://cloud.google.com/speech/docs/streaming-recognize

Would this library be able to support that yet? If so is there any reference I can look at to start giving it a go?

nfultz commented 6 years ago

Streaming services aren't implemented yet, but I've been working on it on the server side. Also IDK if you need authentication, which is also not implemented yet.

Is this the specific service you want to use? https://github.com/googleapis/googleapis/blob/master/google/cloud/speech/v1beta1/cloud_speech.proto

It looks like there's a non-streaming option - you might give that a try. There's a couple example clients in the demo/ folder that you could adapt.

MarkEdmondson1234 commented 6 years ago

Thanks @nfultz - I have a non-streaming solution using the JSON API, I guess it wouldn't hold any advantage over that? Also would need authentication, yes. I guess I'll wait a bit for this library to mature, but thanks for pointing me to the .proto object, I guess that is the start.