Experimental
@aws-cdk/aws-medialive-alpha is an experimental (alpha) package: its API may change in any release, without a major version bump.
RemixSettings Struct
Audio remix settings for channel remapping.
| Stability | Experimental |
|---|---|
| Source | lib/encode-configuration.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 remixSettings: medialive_alpha.RemixSettings = {
channelMappings: [{
inputChannelLevels: [{
inputChannel: 123,
// the properties below are optional
gain: 123,
}],
outputChannel: 123,
}],
// the properties below are optional
channelsIn: 123,
channelsOut: 123,
};
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
remix_settings = medialive_alpha.RemixSettings(
channel_mappings=[medialive_alpha.AudioChannelMapping(
input_channel_levels=[medialive_alpha.InputChannelLevel(
input_channel=123,
# the properties below are optional
gain=123
)],
output_channel=123
)],
# the properties below are optional
channels_in=123,
channels_out=123
)
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.*;
RemixSettings remixSettings = RemixSettings.builder()
.channelMappings(List.of(AudioChannelMapping.builder()
.inputChannelLevels(List.of(InputChannelLevel.builder()
.inputChannel(123)
// the properties below are optional
.gain(123)
.build()))
.outputChannel(123)
.build()))
// the properties below are optional
.channelsIn(123)
.channelsOut(123)
.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;
var remixSettings = new RemixSettings {
ChannelMappings = new [] { new AudioChannelMapping {
InputChannelLevels = new [] { new InputChannelLevel {
InputChannel = 123,
// the properties below are optional
Gain = 123
} },
OutputChannel = 123
} },
// the properties below are optional
ChannelsIn = 123,
ChannelsOut = 123
};
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"
remixSettings := &RemixSettings{
ChannelMappings: []AudioChannelMapping{
&AudioChannelMapping{
InputChannelLevels: []InputChannelLevel{
&InputChannelLevel{
InputChannel: jsii.Number(123),
// the properties below are optional
Gain: jsii.Number(123),
},
},
OutputChannel: jsii.Number(123),
},
},
// the properties below are optional
ChannelsIn: jsii.Number(123),
ChannelsOut: jsii.Number(123),
}
Properties
channelMappingsAudioChannelMapping[]channel_mappingstyping.List[AudioChannelMapping]channelMappingsList<AudioChannelMapping>ChannelMappingsAudioChannelMapping[]ChannelMappings*[]AudioChannelMapping required #The channel mappings from input to output.
channelsInoptionalnumberchannels_inoptionalint | floatchannelsInoptionalNumberChannelsInoptionaldoubleChannelsInoptional*float64 = auto-detected #The number of input channels.
channelsOutoptionalnumberchannels_outoptionalint | floatchannelsOutoptionalNumberChannelsOutoptionaldoubleChannelsOutoptional*float64 = auto-detected #The number of output channels.
Valid values: 1, 2, 4, 6, 8.