Where is my live media streaming with AWS Connect and Lex v2 bot?

0

Hi there. I aimed to record the calls made to a flow utilizing a Lex V2 bot into an S3 bucket, thus I adhered to these instructions: https://docs.aws.amazon.com/connect/latest/adminguide/enable-live-media-streams.html

With the live media streaming enabled I did as instructions said, I added a Start media streaming and a Stop media streaming block, saved and published the flow. I don't get any errors but when I make a call I don't see the streaming. I entered to Kinesis and I don't see any Data Streams. Created a lambda function to handle the data streaming but there I don't see any data streaming as well. I triple checked that everything is in us-east-1.

So my question is where can I see my kinesis data streams?

One thing I noted is that according to instructions I must enable streaming by going to Data Storage instead of Data Streaming. And inside of it there is Live media streaming which I have to enable and Kinesis video stream prefix and encryption. But if you go to Data Stream you can see an option that says Create a new Kinesis Stream. I don't see that in Data Storage. I tried enable data streams but that didn't solve the problem.

已提問 2 個月前檢視次數 145 次
2 個答案
0

The Start Streaming block will start sending the audio to Kinesis Video Stream (does not send it to S3 or anywhere else), different from Kinesis Data Stream. What you will need to build is a consumer of these RAW live audio streams and construct the wav file yourself, here is an example:

https://github.com/amazon-connect/amazon-connect-realtime-transcription

The example contact flow shown disconnect the calls and does not send to a queue, so what you can do is modify the contact flow to send the call to a queue and eventually to an agent, the entire call will be streamed and you will be able to capture it via KVS. Regular Connect call recording will continue to work (only between caller and agent portion)

profile pictureAWS
已回答 2 個月前
profile picture
專家
已審閱 2 個月前
  • Thanks for helping. But what I read is that the data was going to be retained by 5 minutes, I was expecting to process it once Stop media streaming block was executed using a lambda function as trigger. What you are suggesting is way too complicated for me, I will just remove this feature from my app.

-2

I've never seen a Kinesis actually be used to record Lex interactions, I suspect it's not possible. Kinesis is mainly used to build a "voicemail" functionality or to allow the caller to record feedback like for a survey. Check this link out https://s3.amazonaws.com/solutions-reference/voicemail-for-amazon-connect/latest/voicemail-for-amazon-connect.pdf and you'll get a walkthrough on how it can be used to capture caller audio.

david

profile picture
dmacias
已回答 2 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南