Using Amazon Chime SDK media stream pipelines data - Amazon Chime SDK

Using Amazon Chime SDK media stream pipelines data

You can use the metadata in the notifications to get KVS ARNs, fragment numbers, and fragment timestamps. That information can help you to process the audio data in a KVS stream.

Also, you can use KVS ARNs with the KVS APIs to read data from a stream. Depending on the use case, you call the GetMedia and GetMediaForFragmentList APIs. Typically, a GetMediaForFragmentList call is preceded by a call to the ListFragments API. For more information, refer Reading data from streams, in the Amazon Kinesis Video Streams FAQs.

Depending on the use case, builders can use the Kinesis Video Streams parser library, which in turn uses the KVS GetMedia API.

Media stream pipelines add the following meeting and attendee metadata to each fragment.

"meetingId" "externalMeetingId" "attendeeId" "externalUserId" "sampleRate" "channels"

Media data is stored in MKV format. All MKV audio data is AAC encoded. For more information, see Kinesis Video Streams data model, in the Kinesis Video Streams Developer Guide.