Skip to content
v2.278.0

Experimental

@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.

AudioPidConfig Struct ​

Configuration for a single audio PID in a PID-based selector.

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';

declare const audioPreMixerSettings: medialive_alpha.AudioPreMixerSettings;
declare const dolbyEProgramSelection: medialive_alpha.DolbyEProgramSelection;
const audioPidConfig: medialive_alpha.AudioPidConfig = {
  pid: 123,

  // the properties below are optional
  dolbyEDecode: dolbyEProgramSelection,
  premixSettings: audioPreMixerSettings,
};
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

# audio_pre_mixer_settings: medialive_alpha.AudioPreMixerSettings
# dolby_e_program_selection: medialive_alpha.DolbyEProgramSelection

audio_pid_config = medialive_alpha.AudioPidConfig(
    pid=123,

    # the properties below are optional
    dolby_e_decode=dolby_e_program_selection,
    premix_settings=audio_pre_mixer_settings
)
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.*;

AudioPreMixerSettings audioPreMixerSettings;
DolbyEProgramSelection dolbyEProgramSelection;

AudioPidConfig audioPidConfig = AudioPidConfig.builder()
        .pid(123)

        // the properties below are optional
        .dolbyEDecode(dolbyEProgramSelection)
        .premixSettings(audioPreMixerSettings)
        .build();
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;

AudioPreMixerSettings audioPreMixerSettings;
DolbyEProgramSelection dolbyEProgramSelection;

var audioPidConfig = new AudioPidConfig {
    Pid = 123,

    // the properties below are optional
    DolbyEDecode = dolbyEProgramSelection,
    PremixSettings = audioPreMixerSettings
};
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"

var audioPreMixerSettings AudioPreMixerSettings
var dolbyEProgramSelection DolbyEProgramSelection

audioPidConfig := &AudioPidConfig{
	Pid: jsii.Number(123),

	// the properties below are optional
	DolbyEDecode: dolbyEProgramSelection,
	PremixSettings: audioPreMixerSettings,
}

Properties ​

dolbyEDecodeoptionalDolbyEProgramSelectiondolby_e_decodeoptionalDolbyEProgramSelectiondolbyEDecodeoptionalDolbyEProgramSelectionDolbyEDecodeoptionalDolbyEProgramSelectionDolbyEDecodeoptionalDolbyEProgramSelection #
Which Dolby E program to decode from this PID.

Default: no Dolby E decoding

pidnumberpidint | floatpidNumberPiddoublePid*float64 required #
The packet identifier (PID) value from within the source.
premixSettingsoptionalAudioPreMixerSettingspremix_settingsoptionalAudioPreMixerSettingspremixSettingsoptionalAudioPreMixerSettingsPremixSettingsoptionalAudioPreMixerSettingsPremixSettingsoptionalAudioPreMixerSettings #
Pre-mixer settings for this PID (gain, channel remix, loudness normalization).

Default: no pre-mixing