By using AWS re:Post, you agree to the Terms of Use

Get Connect audio from Kinesis video stream = UnsupportedStreamMediaType



I'm using Amazon CONNECT service and I need to record the whole audio, including when the caller is talking with a LEX bot.
Therefore I've enabled streaming, inserted the start stream block, and I'm properly get 1 stream in Kinesis Video Streams per call.

BUT from here
I cannot figure out HOW to get the record back to me in a file neither at least being able to PLAY them remotely:

  • the online AWS media playback falls in an "Unexpected error - The type of the media is not supported or could not be determined from the media codec ids: (track 1: A_AAC), (track 2: A_AAC)"

  • through API / CLI with GetClip, I'm properly using the syntax but it falls in the same error:
    << An error occurred (UnsupportedStreamMediaTypeException) when calling the GetClip operation: The type of the media is not supported or could not be determined from the media codec ids: (track 1: A_AAC), (track 2: A_AAC).>>

aws kinesis-video-archived-media get-clip --stream-name <name of the stream> --clip-fragment-selector FragmentSelectorType="SERVER_TIMESTAMP",TimestampRange={StartTimestamp=2020-09-02T23:44:12_0200,EndTimestamp=2020-09-02T23:45:00_0200} --endpoint-url <the endpoint retrieved from get-data-endpoint for GetClip API> <filename>

I've also tried the GetMedia API (with CLI aws kinesis-video-media get-media + proper parameters), I retrieve a file containing the list of the chunk... but I don't know how to read the audio from it (even VLC failed, and it's normal since it contains data attributes...).

To me actually, the Amazon Connect stream recording service is totally unusable.
Thanks for your help and support, every help and advice are welcome.


asked 2 years ago257 views
2 Answers

hi Stephene,

We are trying to achieve the same functionality, we have been recommended to use Java Parsing Library

answered 2 years ago

Thanks you!

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions