AWSKinesisVideoImageGenerationConfiguration
Objective-C
@interface AWSKinesisVideoImageGenerationConfiguration
Swift
class AWSKinesisVideoImageGenerationConfiguration
The structure that contains the information required for the KVS images delivery. If null, the configuration will be deleted from the stream.
Required parameters: [Status, ImageSelectorType, DestinationConfig, SamplingInterval, Format]
-
The structure that contains the information required to deliver images to a customer.
Declaration
Objective-C
@property (nonatomic, strong) AWSKinesisVideoImageGenerationDestinationConfig *_Nullable destinationConfig;Swift
var destinationConfig: AWSKinesisVideoImageGenerationDestinationConfig? { get set } -
The accepted image format.
Declaration
Objective-C
@property (nonatomic) AWSKinesisVideoFormat format;Swift
var format: AWSKinesisVideoFormat { get set } -
The list of a key-value pair structure that contains extra parameters that can be applied when the image is generated. The
FormatConfigkey is theJPEGQuality, which indicates the JPEG quality key to be used to generate the image. TheFormatConfigvalue accepts ints from 1 to 100. If the value is 1, the image will be generated with less quality and the best compression. If the value is 100, the image will be generated with the best quality and less compression. If no value is provided, the default value of theJPEGQualitykey will be set to 80.Declaration
Objective-C
@property (nonatomic, strong) NSDictionary<NSString *, NSString *> *_Nullable formatConfig;Swift
var formatConfig: [String : String]? { get set } -
The height of the output image that is used in conjunction with the
WidthPixelsparameter. When bothHeightPixelsandWidthPixelsparameters are provided, the image will be stretched to fit the specified aspect ratio. If only theHeightPixelsparameter is provided, its original aspect ratio will be used to calculate theWidthPixelsratio. If neither parameter is provided, the original image size will be returned.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable heightPixels;Swift
var heightPixels: NSNumber? { get set } -
The origin of the Server or Producer timestamps to use to generate the images.
Declaration
Objective-C
@property (nonatomic) AWSKinesisVideoImageSelectorType imageSelectorType;Swift
var imageSelectorType: AWSKinesisVideoImageSelectorType { get set } -
The time interval in milliseconds (ms) at which the images need to be generated from the stream. The minimum value that can be provided is 200 ms. If the timestamp range is less than the sampling interval, the Image from the
StartTimestampwill be returned if available.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable samplingInterval;Swift
var samplingInterval: NSNumber? { get set } -
Indicates whether the
ContinuousImageGenerationConfigurationsAPI is enabled or disabled.Declaration
Objective-C
@property (nonatomic) AWSKinesisVideoConfigurationStatus status;Swift
var status: AWSKinesisVideoConfigurationStatus { get set } -
The width of the output image that is used in conjunction with the
HeightPixelsparameter. When bothWidthPixelsandHeightPixelsparameters are provided, the image will be stretched to fit the specified aspect ratio. If only theWidthPixelsparameter is provided, its original aspect ratio will be used to calculate theHeightPixelsratio. If neither parameter is provided, the original image size will be returned.Declaration
Objective-C
@property (nonatomic, strong) NSNumber *_Nullable widthPixels;Swift
var widthPixels: NSNumber? { get set }
View on GitHub
Install in Dash
AWSKinesisVideoImageGenerationConfiguration Class Reference