aws-samples / aws-transcribe-streaming-example-java

Example Java Application using AWS SDK creating streaming transcriptions via AWS Transcribe
MIT No Attribution
62 stars 45 forks source link

Python implementation #1

Open jsinge97 opened 5 years ago

jsinge97 commented 5 years ago

Will there ever be a python implementation of a streaming example? It's not obvious how other clients that don't have native http/2 support will be able to use aws-transcribe-streaming. Open to hearing other ideas. Obviously one could set up a pipe or websocket to the java implementation, but would love other thoughts

PeytonT commented 5 years ago

I note that you have already raised the possibility of a websocket based solution via a connection to the java implementation. Provided that a maximum stream duration of 15 minutes is tolerable, a client-agnostic websocket API could be established via an API Gateway Websocket API that launches a Lambda function that shims between websockets and http/2 via the aws-transcribe-streaming Java 2.0 SDK.

https://aws.amazon.com/blogs/compute/announcing-websocket-apis-in-amazon-api-gateway/

sepidehhosseinzadeh commented 5 years ago

@jsinge97 @PeytonT Could you please share your implementations? Many thanks in advance.