@Stability(value=Stable)
public static interface CfnChannel.Mp2SettingsProperty
extends software.amazon.jsii.JsiiSerializable
The parent of this entity is AudioCodecSettings.
Example:
// 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.*;
Mp2SettingsProperty mp2SettingsProperty = Mp2SettingsProperty.builder()
.bitrate(123)
.codingMode("codingMode")
.sampleRate(123)
.build();
| Modifier and Type | Interface and Description |
|---|---|
static class |
CfnChannel.Mp2SettingsProperty.Builder
A builder for
CfnChannel.Mp2SettingsProperty |
static class |
CfnChannel.Mp2SettingsProperty.Jsii$Proxy
An implementation for
CfnChannel.Mp2SettingsProperty |
| Modifier and Type | Method and Description |
|---|---|
static CfnChannel.Mp2SettingsProperty.Builder |
builder() |
default Number |
getBitrate()
The average bitrate in bits/second.
|
default String |
getCodingMode()
The MPEG2 Audio coding mode.
|
default Number |
getSampleRate()
The sample rate in Hz.
|
@Stability(value=Stable) @Nullable default Number getBitrate()
@Stability(value=Stable) @Nullable default String getCodingMode()
Valid values are codingMode10 (for mono) or codingMode20 (for stereo).
@Stability(value=Stable) @Nullable default Number getSampleRate()
@Stability(value=Stable) static CfnChannel.Mp2SettingsProperty.Builder builder()
Copyright © 2022. All rights reserved.