interface VideoProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.Mixins.Preview.AWS.IVS.Mixins.CfnEncoderConfigurationPropsMixin.VideoProperty |
Go | github.com/aws/aws-cdk-go/awscdkmixinspreview/v2/awsivs/mixins#CfnEncoderConfigurationPropsMixin_VideoProperty |
Java | software.amazon.awscdk.mixins.preview.services.ivs.mixins.CfnEncoderConfigurationPropsMixin.VideoProperty |
Python | aws_cdk.mixins_preview.aws_ivs.mixins.CfnEncoderConfigurationPropsMixin.VideoProperty |
TypeScript | @aws-cdk/mixins-preview » aws_ivs » mixins » CfnEncoderConfigurationPropsMixin » VideoProperty |
The Video property type describes a stream's video configuration.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { mixins as ivs_mixins } from '@aws-cdk/mixins-preview/aws-ivs';
const videoProperty: ivs_mixins.CfnEncoderConfigurationPropsMixin.VideoProperty = {
bitrate: 123,
framerate: 123,
height: 123,
width: 123,
};
Properties
| Name | Type | Description |
|---|---|---|
| bitrate? | number | Bitrate for generated output, in bps. |
| framerate? | number | Video frame rate, in fps. |
| height? | number | Video-resolution height. |
| width? | number | Video-resolution width. |
bitrate?
Type:
number
(optional, default: 2500000)
Bitrate for generated output, in bps.
Default: 2500000.
framerate?
Type:
number
(optional, default: 30)
Video frame rate, in fps.
Default: 30.
height?
Type:
number
(optional, default: 720)
Video-resolution height.
Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 720.
width?
Type:
number
(optional, default: 1280)
Video-resolution width.
Note that the maximum value is determined by width times height, such that the maximum total pixels is 2073600 (1920x1080 or 1080x1920). Default: 1280.

.NET
Go
Java
Python
TypeScript