By using AWS re:Post, you agree to the Terms of Use

TimedMetadata api is not working I am not able to view the metadata.


When I am sending the time metadata in my livestream I am not able to see the data in my stream, I am sending like this through my python function:
and in response I am getting this
{'ResponseMetadata': {'HTTPStatusCode': 204, 'RequestId': '94930266-7bf9-43fe-8987-458a9c1a97a7', 'HTTPHeaders': {'content-type': 'application/json', 'connection': 'keep-alive', 'x-amzn-remapped-date': 'Fri, 11 Sep 2020 11:21:41 GMT', 'x-amzn-trace-id': 'Root=1-5f5b5dc5-05a005530281262523d2ca5b', 'x-amz-cf-id': 'deDqseQGhs5H9ZSkToWv-obV7pXYQ7s-wyfWfMMKyj3CP7MwhM6POA==', 'access-control-allow-origin': '', 'access-control-expose-headers': '', 'via': '1.1 (CloudFront)', 'x-amz-cf-pop': 'DEL54-C2', 'x-amzn-requestid': '94930266-7bf9-43fe-8987-458a9c1a97a7', 'date': 'Fri, 11 Sep 2020 11:21:41 GMT', 'x-amz-apigw-id': 'SsuW4G5yvHcFwHQ=', 'content-length': '0', 'x-cache': 'Miss from cloudfront'}, 'RetryAttempts': 0}}
I am not able to see the metadata in amazon ivs player in aws console also in my jsplayer the code which I have cloned from the samples and I had subscribed to the event.
I tried the sample ivs player from github code there a quiz video is also given but I was not able to see the questions also.
Please help me out.

2 Answers

Thank you for using the service. To clarify IVS TimedMetadata information will not appear within the Live Preview on the IVS Console. From what I can tell through your provided information, it appears that the information is being successfully sent, however, not appearing during playback.

Some troubleshooting steps that we recommend are to test using the sample QuizDemo Codepen [1], as this requires little setup and a sample of how TimedMetadata can work. To test using this CodePen, please load the CodePen first and ensure that the example stream and quiz metadata are appearing. For more information, open the console view of the CodePen (bottom left) in which player state and player events should be appearing. Following confirmation of the sample stream working, start an IVS stream and ensure that it is working via the Live Preview on the IVS Console. Once the stream is running, copy the playback URL provided on the IVS channel page and replace the playbackUrl variable within the CodePen’s JS section. Run the updated CodePen (top right) and ensure the stream changes to your stream. Now with the CodePen console view still open, the information from your PutMetadata call will appear in the console view. Note: the quiz prompt overlay may not appear, as the sample is looking for a specific metadata format.

More information on setting up and using the QuizDemo Sample can be found in the IVS documentation [2] or “Add Live Video to Your Apps and Websites” blog post [3].

[1] CodePen - Amazon IVS Simple Quiz Demo with TimedMetadata
[2] IVS Documentation - Embedding TimedMetadata
[3] Amazon IVS Blog Post – Add Live Video to Your Apps and Websites

Edited by: riley-aws on Sep 14, 2020 3:15 PM

answered 2 years ago

Thank you it is working

answered 2 years ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions