public static interface ThumbnailConfiguration.Builder extends SdkPojo, CopyableBuilder<ThumbnailConfiguration.Builder,ThumbnailConfiguration>
| Modifier and Type | Method and Description |
|---|---|
ThumbnailConfiguration.Builder |
recordingMode(RecordingMode recordingMode)
Thumbnail recording mode.
|
ThumbnailConfiguration.Builder |
recordingMode(String recordingMode)
Thumbnail recording mode.
|
ThumbnailConfiguration.Builder |
resolution(String resolution)
Indicates the desired resolution of recorded thumbnails.
|
ThumbnailConfiguration.Builder |
resolution(ThumbnailConfigurationResolution resolution)
Indicates the desired resolution of recorded thumbnails.
|
ThumbnailConfiguration.Builder |
storage(Collection<ThumbnailConfigurationStorage> storage)
Indicates the format in which thumbnails are recorded.
|
ThumbnailConfiguration.Builder |
storage(ThumbnailConfigurationStorage... storage)
Indicates the format in which thumbnails are recorded.
|
ThumbnailConfiguration.Builder |
storageWithStrings(Collection<String> storage)
Indicates the format in which thumbnails are recorded.
|
ThumbnailConfiguration.Builder |
storageWithStrings(String... storage)
Indicates the format in which thumbnails are recorded.
|
ThumbnailConfiguration.Builder |
targetIntervalSeconds(Long targetIntervalSeconds)
The targeted thumbnail-generation interval in seconds.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildThumbnailConfiguration.Builder recordingMode(String recordingMode)
Thumbnail recording mode. Default: INTERVAL.
recordingMode - Thumbnail recording mode. Default: INTERVAL.RecordingMode,
RecordingModeThumbnailConfiguration.Builder recordingMode(RecordingMode recordingMode)
Thumbnail recording mode. Default: INTERVAL.
recordingMode - Thumbnail recording mode. Default: INTERVAL.RecordingMode,
RecordingModeThumbnailConfiguration.Builder resolution(String 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).
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).ThumbnailConfigurationResolution,
ThumbnailConfigurationResolutionThumbnailConfiguration.Builder resolution(ThumbnailConfigurationResolution 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).
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).ThumbnailConfigurationResolution,
ThumbnailConfigurationResolutionThumbnailConfiguration.Builder storageWithStrings(Collection<String> storage)
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.
storage - 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.ThumbnailConfiguration.Builder storageWithStrings(String... storage)
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.
storage - 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.ThumbnailConfiguration.Builder storage(Collection<ThumbnailConfigurationStorage> storage)
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.
storage - 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.ThumbnailConfiguration.Builder storage(ThumbnailConfigurationStorage... storage)
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.
storage - 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.ThumbnailConfiguration.Builder targetIntervalSeconds(Long targetIntervalSeconds)
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.
targetIntervalSeconds - 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.
Copyright © 2023. All rights reserved.