class RenditionConfiguration
Language | Type name |
---|---|
![]() | Amazon.CDK.AWS.Ivs.Alpha.RenditionConfiguration |
![]() | github.com/aws/aws-cdk-go/awscdkivsalpha/v2#RenditionConfiguration |
![]() | software.amazon.awscdk.services.ivs.alpha.RenditionConfiguration |
![]() | aws_cdk.aws_ivs_alpha.RenditionConfiguration |
![]() | @aws-cdk/aws-ivs-alpha ยป RenditionConfiguration |
Rendition configuration for IVS Recording configuration.
Example
declare const recordingBucket: s3.Bucket;
const recordingConfiguration= new ivs.RecordingConfiguration(this, 'RecordingConfiguration', {
bucket: recordingBucket,
// set rendition configuration
renditionConfiguration: ivs.RenditionConfiguration.custom([ivs.Resolution.HD, ivs.Resolution.SD]),
});
Properties
Name | Type | Description |
---|---|---|
rendition | Rendition | The set of renditions are recorded for a stream. |
renditions? | Resolution [] | A list of which renditions are recorded for a stream. |
renditionSelection
Type:
Rendition
The set of renditions are recorded for a stream.
renditions?
Type:
Resolution
[]
(optional)
A list of which renditions are recorded for a stream.
If you do not specify this property, no resolution is selected.
Methods
Name | Description |
---|---|
static all() | Record all available renditions. |
static custom(renditions) | Record a subset of video renditions. |
static none() | Does not record any video. |
static all()
public static all(): RenditionConfiguration
Returns
Record all available renditions.
static custom(renditions)
public static custom(renditions: Resolution[]): RenditionConfiguration
Parameters
- renditions
Resolution
[]
โ A list of which renditions are recorded for a stream.
Returns
Record a subset of video renditions.
static none()
public static none(): RenditionConfiguration
Returns
Does not record any video.