StreamSelectionProperty Struct
Limitations for outputs from the endpoint, based on the video bitrate.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_mediapackage as mediapackage } from 'aws-cdk-lib';
const streamSelectionProperty: mediapackage.CfnPackagingConfiguration.StreamSelectionProperty = {
maxVideoBitsPerSecond: 123,
minVideoBitsPerSecond: 123,
streamOrder: 'streamOrder',
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_mediapackage as mediapackage
stream_selection_property = mediapackage.CfnPackagingConfiguration.StreamSelectionProperty(
max_video_bits_per_second=123,
min_video_bits_per_second=123,
stream_order="streamOrder"
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.mediapackage.*;
StreamSelectionProperty streamSelectionProperty = StreamSelectionProperty.builder()
.maxVideoBitsPerSecond(123)
.minVideoBitsPerSecond(123)
.streamOrder("streamOrder")
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaPackage;
var streamSelectionProperty = new StreamSelectionProperty {
MaxVideoBitsPerSecond = 123,
MinVideoBitsPerSecond = 123,
StreamOrder = "streamOrder"
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
streamSelectionProperty := &StreamSelectionProperty{
MaxVideoBitsPerSecond: jsii.Number(123),
MinVideoBitsPerSecond: jsii.Number(123),
StreamOrder: jsii.String("streamOrder"),
}
Properties
maxVideoBitsPerSecondoptionalnumbermax_video_bits_per_secondoptionalint | floatmaxVideoBitsPerSecondoptionalNumberMaxVideoBitsPerSecondoptionaldoubleMaxVideoBitsPerSecondoptional*float64 #The upper limit of the bitrates that this endpoint serves.
If the video track exceeds this threshold, then AWS Elemental MediaPackage excludes it from output. If you don't specify a value, it defaults to 2147483647 bits per second.
minVideoBitsPerSecondoptionalnumbermin_video_bits_per_secondoptionalint | floatminVideoBitsPerSecondoptionalNumberMinVideoBitsPerSecondoptionaldoubleMinVideoBitsPerSecondoptional*float64 #The lower limit of the bitrates that this endpoint serves.
If the video track is below this threshold, then AWS Elemental MediaPackage excludes it from output. If you don't specify a value, it defaults to 0 bits per second.
streamOrderoptionalstringstream_orderoptionalstrstreamOrderoptionalStringStreamOrderoptionalstringStreamOrderoptional*string #Order in which the different video bitrates are presented to the player.
Valid values: ORIGINAL , VIDEO_BITRATE_ASCENDING , VIDEO_BITRATE_DESCENDING .