Skip to content

GetImages

Source: src/AWS/KinesisVideo/GetImages.ts

Runtime binding for kinesisvideo:GetImages (archived media data plane).

Bind this operation to a Stream inside a function runtime to get a callable that resolves the per-stream data endpoint (GetDataEndpoint) and extracts base64-encoded still images (JPEG/PNG) from the stored media at the requested sampling interval.

// init
const getImages = yield* AWS.KinesisVideo.GetImages(stream);
// runtime
const { Images } = yield* getImages({
ImageSelectorType: "SERVER_TIMESTAMP",
StartTimestamp: start,
EndTimestamp: end,
Format: "JPEG",
});