Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
M2tsBufferModel Class
The buffer model used for the transport stream.
| Stability | Experimental |
|---|---|
| Source | lib/m2ts-settings.ts |
Example
ts
// 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 m2tsBufferModel = medialive_alpha.M2tsBufferModel.of('value');
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
import aws_cdk.aws_medialive_alpha as medialive_alpha
m2ts_buffer_model = medialive_alpha.M2tsBufferModel.of("value")
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.medialive.alpha.*;
M2tsBufferModel m2tsBufferModel = M2tsBufferModel.of("value");
csharp
// Install: dotnet add package Amazon.CDK.AWS.MediaLive.Alpha
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.MediaLive.Alpha;
var m2tsBufferModel = M2tsBufferModel.Of("value");
go
// Install: go get github.com/aws/aws-cdk-go/awsmedialivealpha/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import medialive_alpha "github.com/aws/aws-cdk-go/awsmedialivealpha"
m2tsBufferModel := medialive_alpha.M2tsBufferModel_Of(jsii.String("value"))
Properties
MULTIPLEXM2tsBufferModelMULTIPLEXM2tsBufferModelMULTIPLEXM2tsBufferModelMULTIPLEXM2tsBufferModelMULTIPLEXM2tsBufferModel static #Uses the multiplex buffer model for accurate interleaving.
NONEM2tsBufferModelNONEM2tsBufferModelNONEM2tsBufferModelNONEM2tsBufferModelNONEM2tsBufferModel static #Can lead to lower latency, but low-memory devices might not be able to play back the stream without interruptions.
The underlying string value passed to CloudFormation.
Methods
of(value: string): M2tsBufferModel // chainable@staticmethod def of(value: str) -> M2tsBufferModelpublic static M2tsBufferModel of(String value)public static M2tsBufferModel Of(string value)func Of(Value *string) M2tsBufferModel static #A value not yet modelled by AWS CDK.