1 Answer
- Newest
- Most votes
- Most comments
0
Can you post the code you’re using? More than likely the issue is in the decoding/format of the audio file.
answered 2 years ago
Relevant content
- asked 4 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 3 years ago

def get_audio_track(stream_arn, start_fragment_number): # Create Kinesis Video client kinesis_video = boto3.client('kinesisvideo') # Get Data Endpoint for the stream response = kinesis_video.get_data_endpoint( StreamARN=stream_arn, APIName='GET_MEDIA' ) data_endpoint = response['DataEndpoint']
Example usage
stream_arn = 'arn:aws:kinesisvideo:us-west-2:884189903498:stream/prsv24-stream-connect-minhbear-prsv-contact-f801d3cf-6cf9-48e9-8407-8794c0a3a916/1719457808385' start_fragment_number = '91343852333181437344442219805238413847071028315' get_audio_track(stream_arn, start_fragment
Above is the code I get the voice store in kinesis video stream and the store in the wav file in local computer, can you check that am I wrong in some where