DescribeFlowSourceThumbnail
Source:
src/AWS/MediaConnect/DescribeFlowSourceThumbnail.ts
Runtime binding for mediaconnect:DescribeFlowSourceThumbnail.
Fetches a thumbnail of the content currently arriving at the bound
Flow’s source (base64-encoded, refreshed every few seconds) —
the building block for visual confidence monitoring. Thumbnails are
only generated while the flow is running and sourceMonitoringConfig
has thumbnails enabled; otherwise the response carries
ThumbnailMessages explaining why no image is available. The flow ARN
is injected from the binding. Provide the implementation with
Effect.provide(AWS.MediaConnect.DescribeFlowSourceThumbnailHttp).
Observing Flows
Section titled “Observing Flows”// init — bind the operation to the flowconst sourceThumbnail = yield* AWS.MediaConnect.DescribeFlowSourceThumbnail(flow);
// runtimeconst { ThumbnailDetails } = yield* sourceThumbnail();const image = ThumbnailDetails?.Thumbnail; // base64-encoded JPEG