Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Image

import type { Image } from "https://aws-api.deno.dev/v0.4/services/kinesisvideoarchivedmedia.ts?docs=full";

A structure that contains the Timestamp, Error, and ImageContent.

interface Image {
Error?: ImageError | null;
ImageContent?: string | null;
TimeStamp?: Date | number | null;
}

§Properties

§
Error?: ImageError | null
[src]

The error message shown when the image for the provided timestamp was not extracted due to a non-tryable error. An error will be returned if:

  • There is no media that exists for the specified Timestamp.

  • The media for the specified time does not allow an image to be extracted. In this case the media is audio only, or the incorrect media has been ingested.

§
ImageContent?: string | null
[src]

An attribute of the Image object that is Base64 encoded.

§
TimeStamp?: Date | number | null
[src]

An attribute of the Image object that is used to extract an image from the video stream. This field is used to manage gaps on images or to better understand the pagination window.