/**
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
* SPDX-License-Identifier: Apache-2.0.
*/
#pragma once
#include An object representing a configuration of thumbnails for recorded
* video.See Also:
AWS
* API Reference
Thumbnail recording mode. Default: INTERVAL
.
Thumbnail recording mode. Default: INTERVAL
.
Thumbnail recording mode. Default: INTERVAL
.
Thumbnail recording mode. Default: INTERVAL
.
Thumbnail recording mode. Default: INTERVAL
.
Thumbnail recording mode. Default: INTERVAL
.
Indicates the desired resolution of recorded thumbnails. Thumbnails are * recorded at the selected resolution if the corresponding rendition is available * during the stream; otherwise, they are recorded at source resolution. For more * information about resolution values and their corresponding height and width * dimensions, see Auto-Record * to Amazon S3. Default: Null (source resolution is returned).
*/ inline const ThumbnailConfigurationResolution& GetResolution() const{ return m_resolution; } /** *Indicates the desired resolution of recorded thumbnails. Thumbnails are * recorded at the selected resolution if the corresponding rendition is available * during the stream; otherwise, they are recorded at source resolution. For more * information about resolution values and their corresponding height and width * dimensions, see Auto-Record * to Amazon S3. Default: Null (source resolution is returned).
*/ inline bool ResolutionHasBeenSet() const { return m_resolutionHasBeenSet; } /** *Indicates the desired resolution of recorded thumbnails. Thumbnails are * recorded at the selected resolution if the corresponding rendition is available * during the stream; otherwise, they are recorded at source resolution. For more * information about resolution values and their corresponding height and width * dimensions, see Auto-Record * to Amazon S3. Default: Null (source resolution is returned).
*/ inline void SetResolution(const ThumbnailConfigurationResolution& value) { m_resolutionHasBeenSet = true; m_resolution = value; } /** *Indicates the desired resolution of recorded thumbnails. Thumbnails are * recorded at the selected resolution if the corresponding rendition is available * during the stream; otherwise, they are recorded at source resolution. For more * information about resolution values and their corresponding height and width * dimensions, see Auto-Record * to Amazon S3. Default: Null (source resolution is returned).
*/ inline void SetResolution(ThumbnailConfigurationResolution&& value) { m_resolutionHasBeenSet = true; m_resolution = std::move(value); } /** *Indicates the desired resolution of recorded thumbnails. Thumbnails are * recorded at the selected resolution if the corresponding rendition is available * during the stream; otherwise, they are recorded at source resolution. For more * information about resolution values and their corresponding height and width * dimensions, see Auto-Record * to Amazon S3. Default: Null (source resolution is returned).
*/ inline ThumbnailConfiguration& WithResolution(const ThumbnailConfigurationResolution& value) { SetResolution(value); return *this;} /** *Indicates the desired resolution of recorded thumbnails. Thumbnails are * recorded at the selected resolution if the corresponding rendition is available * during the stream; otherwise, they are recorded at source resolution. For more * information about resolution values and their corresponding height and width * dimensions, see Auto-Record * to Amazon S3. Default: Null (source resolution is returned).
*/ inline ThumbnailConfiguration& WithResolution(ThumbnailConfigurationResolution&& value) { SetResolution(std::move(value)); return *this;} /** *Indicates the format in which thumbnails are recorded.
* SEQUENTIAL
records all generated thumbnails in a serial manner, to
* the media/thumbnails directory. LATEST
saves the latest thumbnail
* in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified
* by targetIntervalSeconds
. You can enable both
* SEQUENTIAL
and LATEST
. Default:
* SEQUENTIAL
.
Indicates the format in which thumbnails are recorded.
* SEQUENTIAL
records all generated thumbnails in a serial manner, to
* the media/thumbnails directory. LATEST
saves the latest thumbnail
* in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified
* by targetIntervalSeconds
. You can enable both
* SEQUENTIAL
and LATEST
. Default:
* SEQUENTIAL
.
Indicates the format in which thumbnails are recorded.
* SEQUENTIAL
records all generated thumbnails in a serial manner, to
* the media/thumbnails directory. LATEST
saves the latest thumbnail
* in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified
* by targetIntervalSeconds
. You can enable both
* SEQUENTIAL
and LATEST
. Default:
* SEQUENTIAL
.
Indicates the format in which thumbnails are recorded.
* SEQUENTIAL
records all generated thumbnails in a serial manner, to
* the media/thumbnails directory. LATEST
saves the latest thumbnail
* in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified
* by targetIntervalSeconds
. You can enable both
* SEQUENTIAL
and LATEST
. Default:
* SEQUENTIAL
.
Indicates the format in which thumbnails are recorded.
* SEQUENTIAL
records all generated thumbnails in a serial manner, to
* the media/thumbnails directory. LATEST
saves the latest thumbnail
* in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified
* by targetIntervalSeconds
. You can enable both
* SEQUENTIAL
and LATEST
. Default:
* SEQUENTIAL
.
Indicates the format in which thumbnails are recorded.
* SEQUENTIAL
records all generated thumbnails in a serial manner, to
* the media/thumbnails directory. LATEST
saves the latest thumbnail
* in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified
* by targetIntervalSeconds
. You can enable both
* SEQUENTIAL
and LATEST
. Default:
* SEQUENTIAL
.
Indicates the format in which thumbnails are recorded.
* SEQUENTIAL
records all generated thumbnails in a serial manner, to
* the media/thumbnails directory. LATEST
saves the latest thumbnail
* in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified
* by targetIntervalSeconds
. You can enable both
* SEQUENTIAL
and LATEST
. Default:
* SEQUENTIAL
.
Indicates the format in which thumbnails are recorded.
* SEQUENTIAL
records all generated thumbnails in a serial manner, to
* the media/thumbnails directory. LATEST
saves the latest thumbnail
* in media/latest_thumbnail/thumb.jpg and overwrites it at the interval specified
* by targetIntervalSeconds
. You can enable both
* SEQUENTIAL
and LATEST
. Default:
* SEQUENTIAL
.
The targeted thumbnail-generation interval in seconds. This is configurable
* (and required) only if recordingMode
is INTERVAL
.
* Default: 60.
Important: For the BASIC
channel type,
* 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.
The targeted thumbnail-generation interval in seconds. This is configurable
* (and required) only if recordingMode
is INTERVAL
.
* Default: 60.
Important: For the BASIC
channel type,
* 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.
The targeted thumbnail-generation interval in seconds. This is configurable
* (and required) only if recordingMode
is INTERVAL
.
* Default: 60.
Important: For the BASIC
channel type,
* 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.
The targeted thumbnail-generation interval in seconds. This is configurable
* (and required) only if recordingMode
is INTERVAL
.
* Default: 60.
Important: For the BASIC
channel type,
* 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.