Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

Example flow for testing live media streaming in Amazon Connect - Amazon Connect

Example flow for testing live media streaming in Amazon Connect

Here's how you can set up a flow to test live media streaming:

  1. Add a Start media streaming block at the point where you want to enable customer audio streaming.

  2. Connect the Success branch to the rest of your flow.

  3. Add a Stop media streaming block to where you want to stop streaming.

  4. Configure both blocks to specify what you want to stream: From the customer and/or To the customer.

    A start media streaming block.

Customer audio is captured until a Stop media streaming block is invoked, even if the contact is passed to another flow.

Use the contact attributes for media streaming in your flow so that the contact record includes the attributes. You can then view the contact record to determine the media streaming data associated with a specific contact. You can also pass the attributes to an AWS Lambda function.

The following example flow shows how you might use media streaming with attributes for testing purposes. This flow includes a Start media streaming block but it is missing the Stop media streaming block.

A sample flow with a start media streaming block.

After the audio is successfully streamed to Kinesis Video Streams, the contact attributes are populated from the Invoke AWS Lambda function block. You can use the attributes to identify the location in the stream where the customer audio starts. For instructions, see Contact attributes for live media streaming in Kinesis Video Streams.

PrivacySite termsCookie preferences
© 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.