By FAB on Monday, 21 November 2022
Posted in General
Replies 4
Likes 0
Views 1.2K
Votes 0
Will there be grpc support in the future in any sgc component library`?
Hello,

I am sorry but I've no plans to implement the GRPC protocol, in the last few years I only got a couple of grpc requests so I assume there is not enough demand for it. Why do you need it? If there are more users interested in this I will implement, no problem.

Kind Regards,
Sergio
·
1 year ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Google only offers grpc for "streaming audio speech to text functionality":

https://cloud.google.com/speech-to-text/v2/docs/reference/rpc

REST is not supported for streaming audio and we do not like the following implementation because it creates threads already on program start even before using it:

https://github.com/ultraware/DelphiGrpc
FAB
·
1 year ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Understood.
Never tried but I think that if you use a HTTP/2 client (like the TsgcHTTP2Client) and set in the body the protocol buffer data using a serializer like

https://github.com/grijjy/GrijjyFoundation/blob/master/Grijjy.ProtocolBuffers.pas

It should work
·
1 year ago
·
0 Likes
·
0 Votes
·
0 Comments
·
Thank you for the suggestion, we will try this.
FAB
·
1 year ago
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post