Recording audio in chunks to send to AWS Transcribe Streaming

  1. SDK Version: 35
  2. Platforms(Android/iOS/web/all): iOS and Android

I want to try out AWS Transcribe Streaming in Expo. One possibility might be to do it in a webview using something like this sample, but ideally I’d prefer to do it without a webview.

As far as I understand it, this requires a few pieces:

  1. Generate a pre-signed URL. This should be no problem.
  2. While recording audio, break it into chunks.***
  3. Handle the encoding of chunks of audio (event stream encoding). I think the code from the sample should work for this.
  4. Use the WebSocket module to transfer the encoded audio chunks to AWS and get the responses. I think this should not be a problem.

So the main problem seems to be breaking the audio into chunks while recording. Is this possible using the Audio module or some other way?

Hey Michael,

I relayed this to the engineer who is most familiar with the AV modules but he’s currently OOO so you may not get a response til early next week.


No problem. Thanks.

Any update on this @adamjnav ?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.