How can I consume metadata for a KVS stream using Python?

1

We understand that using Python for consuming a KVS stream is not recommended but were able to put together some code that consumes the stream in chunks using the GetMedia API and also decode some of the KVS metadata like "AWS_KINESISVIDEO_FRAGMENT_NUMBER" and "AWS_KINESISVIDEO_SERVER_TIMESTAMP" with help from this issue. However, when we push custom metadata, we are unable to read it on the python consumer. We tried reading the same on the AWS Java consumer found here and were successful. Is it possible to read this metadata on Python? If so, do you have any suggestions?

  • As part of your request, are you consuming the KVS stream as an HLS session, or are you calling one of the other APIs such as GetMedia to download clips?

  • Hi David! I've edited the question to mention that we're using the GetMedia API via boto3

  • Is your code somewhere I could look at it, such as Github?

답변 없음

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠