Closed amiya-elear closed 4 years ago
Yeah, unfortunately the status codes documentation has not been updated to reflect the latest code as the code is constantly being updated.
This status code is defined in https://github.com/awslabs/amazon-kinesis-video-streams-pic/blob/master/src/client/include/com/amazonaws/kinesis/video/client/Include.h#L182
This indicates that you have a large drift between the audio and video track frames. When using multi-track solution, the av-sync logic will try to cache the audio frames and release them into the core in sync with video.
Thanks Mushegh,
Is it because of the large PTS difference between audio and video frames?
Oh, sorry, yes, that’s what I tried to imply. Sometimes that happens when the audio pipeline keeps producing frames and the video pipeline stalls but there are also cases when the audio and video pipelines are not on the same timeline
Thanks, Mushegh, So Can you please guide me what I have to do to resolve this issue? My camera is providing me PTS,DTS for audio, video frames I am just mapping those PTS, DTS, and putting frames into kinesis using audio and video track. where I am doing wrong?
I would recommend first if all dumping out the timestamps of the frames for both tracks and trying to understand which case you are hitting. If it’s the case with the stale video encoder then perhaps you will need to consult with your encoder manufacturer to understand how to avoid it. If it’s the case of different timelines then you can perhaps capture the diff in the timeline and try to apply the diff to the frames before putting them into the KVS to bring them to the same timeline.
Thanks, Mushmal.
Resolving this issue for now. Feel free to open an issue when you have a question
Hi Team, I have a problem with sending audio and video to KVS, I am using MultiTrackMediaSourceConfiguration to send my audio and video frame into kinesis. And I'm getting this
I was trying to find this status code 0x52000085, but I can't find any information in AWS Documentation. can you help me to resolve the issue? Found one issue in GitHub for KVS CPP but not able to resolve. https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/issues/241 Thanks.