apache-camel-aws-kinesis

How to decode AWS Kinesis Video Stream GetMedia API output to mp3/wav?

╄→гoц情女王★ 提交于 2019-12-08 10:07:01
问题 I ingested data to (Kinesis Video Stream) KVS via AWS Connect service now using GetMedia API am able to extract the Payload but how can I convert this output to a mp3/wav ? I want to ingest this output to AWS Transcribe service to get text format of audio call ingested by AWS Connect service to KVS. Output of Payload for below code is like : 00#AWS_KINESISVIDEO_CONTINUATION_TOKEND\x87....\x1faudio/L16;rate=8000;channels=1;\x12T\xc......00"AWS_KINESISVIDEO_MILLIS_BEHIND_NOWD\x87\x10\x00\x00