class GopSize
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaLive.Alpha.GopSize |
Go | github.com/aws/aws-cdk-go/awsmedialivealpha/v2#GopSize |
Java | software.amazon.awscdk.services.medialive.alpha.GopSize |
Python | aws_cdk.aws_medialive_alpha.GopSize |
TypeScript (source) | @aws-cdk/aws-medialive-alpha ยป GopSize |
GOP size (keyframe interval). Use the static factory methods to specify in frames or seconds.
The value must be greater than zero. When expressed in frames it must be a whole number; when expressed in seconds it may be fractional.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import * as medialive_alpha from '@aws-cdk/aws-medialive-alpha';
const gopSize = medialive_alpha.GopSize.frames(123);
Methods
| Name | Description |
|---|---|
| static frames(value) | GOP size in frames. |
| static seconds(value) | GOP size in seconds. |
static frames(value)
public static frames(value: number): GopSize
Parameters
- value
number
Returns
GOP size in frames.
Must be a whole number.
static seconds(value)
public static seconds(value: number): GopSize
Parameters
- value
number
Returns
GOP size in seconds.
May be fractional (e.g. 1.5).

.NET
Go
Java
Python
TypeScript (