Closed sasiarjun closed 6 years ago
Hi sasiarjun,
Can you provide more details? How are you capturing the Audio that you want to send to Lex? Is Connect providing the audio as a stream or file? The most common issue when sending audio to Lex is that it's not sampled at the correct rate or the wrong sample rate is specified in the request.
If you can provide more details I can better assist you. Are you getting any error messages from the PostContent API?
Cheers,
Andrew
I'm using amazon connect and created outbound contact flow to make call. Once the call is established it provides audio response which needs to be forwarded to LEX. I'm not able to capture the response kindly help on the same.
Hi sasiarjun,
Can you provide a little more detail? Are you using a JavaScript API to create the outbound contact flow? What type of object is the provided audio response? If you can tell me the Connect API you are using and the return type of the audio response I can determine how to pass the audio to Lex.
Cheers,
Andrew
We are working on web application with amazon connect, Here amazon connect playing audio response that we need to capture from browser and send it AWS Javascript LEX Post Content API.
We used this sample application as reference and worked with microphone, but its not capturing audio response that amazon connect playing audio response.
https://aws.amazon.com/blogs/ai/capturing-voice-input-in-a-browser/
Please help me, how can we record web browser audio response from amazon connect.