interface NdiConfig
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.NdiConfig |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#NdiConfig |
Java | software.amazon.awscdk.services.mediaconnect.alpha.NdiConfig |
Python | aws_cdk.aws_mediaconnect_alpha.NdiConfig |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป NdiConfig |
Configuration for NDI Config.
Example
declare const stack: Stack;
declare const ndiVpcInterface: VpcInterfaceConfig;
declare const efaInterface: VpcInterfaceConfig;
declare const videoStream: MediaStream;
// NDI requires LARGE, an encoding profile, and at least one discovery server
new Flow(stack, 'NdiFlow', {
flowSize: FlowSize.LARGE,
ndiConfig: {
ndiState: State.ENABLED,
ndiDiscoveryServers: [{
discoveryServerAddress: '10.0.0.10',
vpcInterface: ndiVpcInterface,
}],
},
encodingConfig: {
encodingProfile: EncodingProfile.CONTRIBUTION_H264_DEFAULT,
},
source: SourceConfiguration.ndi({
flowSourceName: 'ndi-source',
}),
});
// CDI and JPEG XS require LARGE_4X
new Flow(stack, 'CdiFlow', {
flowSize: FlowSize.LARGE_4X,
vpcInterfaces: [efaInterface],
mediaStreams: [videoStream],
source: SourceConfiguration.cdi({
flowSourceName: 'cdi-source',
vpcInterface: efaInterface,
port: 5000,
maxSyncBuffer: 100,
mediaStreamSourceConfigurations: [{
encoding: Encoding.RAW,
mediaStream: videoStream,
}],
}),
});
Properties
| Name | Type | Description |
|---|---|---|
| machine | string | A prefix for the names of the NDI sources that the flow creates. |
| ndi | Ndi[] | Specifies the configuration settings for individual NDI discovery servers. |
| ndi | State | A setting that controls whether NDI sources or outputs can be used in the flow. |
machineName?
Type:
string
(optional, default: MediaConnect generates a unique 12-character ID)
A prefix for the names of the NDI sources that the flow creates.
If a custom name isn't specified, MediaConnect generates a unique 12-character ID as the prefix.
ndiDiscoveryServers?
Type:
Ndi[]
(optional, default: no NDI discovery servers)
Specifies the configuration settings for individual NDI discovery servers.
A maximum of 3 servers is allowed.
ndiState?
Type:
State
(optional, default: State.DISABLED)
A setting that controls whether NDI sources or outputs can be used in the flow.
Must be ENABLED for the flow to support NDI sources or outputs.

.NET
Go
Java
Python
TypeScript (