awslabs / amazon-transcribe-streaming-sdk

The Amazon Transcribe Streaming SDK is an async Python SDK for converting audio into text via Amazon Transcribe.
Apache License 2.0
142 stars 37 forks source link

Signature expired #19

Closed zaffnet closed 3 years ago

zaffnet commented 3 years ago

I have an ~11 minute audio file that I would like to transcribe:

Audio channel: Mono Sample rate: 8 kHz Bits per sample: 16

I am using the example from the README.

I chose media_sample_rate_hz=8000 and chunk_size= 1024 * 8 but it still gave me error:

ERROR collecting result: Signature expired: 20201204T021646Z is now earlier than 20201204T021646Z (20201204T022146Z - 5 min.)

How should I resolve this error?

zaffnet commented 3 years ago

Issue already discussed here: https://github.com/awslabs/amazon-transcribe-streaming-sdk/issues/17