I'm using AWSKinesisVideoArchivedMedia.getImages() to request some images of a recorded video clip. The clip loads fine but I will request, say, 10 images starting from the start time of the video with a sampling rate of 1000ms. Very often the first 3-9 values returned have null image data and eventually one will have an actual image.
Many clips do not return any successful images.
Is there a better way to use this API or is there a different API I can use to reliably get an image from a video clip? I don't even want 10 images I'm just requesting that many to maximize my chances of getting even 1 successful image.
There's got to be a better way to do this. If it, for some reason, started working properly and actually returned 10 images then it would be a huge amount of unnecessary data transfer.
Any ideas?