ThumbnailConfiguration
import type { ThumbnailConfiguration } from "https://aws-api.deno.dev/v0.4/services/ivs.ts?docs=full";
An object representing a configuration of thumbnails for recorded video.
interface ThumbnailConfiguration {
recordingMode?: RecordingMode | null;
targetIntervalSeconds?: number | null;
}§Properties
§
recordingMode?: RecordingMode | null
[src]Thumbnail recording mode.
Default: INTERVAL
.
§
targetIntervalSeconds?: number | null
[src]The targeted thumbnail-generation interval in seconds.
This is configurable (and required) only if recordingMode
is INTERVAL
.
Default: 60.
Important: Setting a value for targetIntervalSeconds
does not guarantee that thumbnails are generated at the specified interval.
For thumbnails to be generated at the targetIntervalSeconds
interval, the IDR/Keyframe
value for the input video must be less than the targetIntervalSeconds
value.
See Amazon IVS Streaming Configuration for information on setting IDR/Keyframe
to the recommended value in video-encoder settings.