interface SourceNdi
| Language | Type name |
|---|---|
.NET | Amazon.CDK.AWS.MediaConnect.Alpha.SourceNdi |
Go | github.com/aws/aws-cdk-go/awsmediaconnectalpha/v2#SourceNdi |
Java | software.amazon.awscdk.services.mediaconnect.alpha.SourceNdi |
Python | aws_cdk.aws_mediaconnect_alpha.SourceNdi |
TypeScript (source) | @aws-cdk/aws-mediaconnect-alpha ยป SourceNdi |
Configuration for NDI (SpeedHQ) source.
NDI sources are ingested from NDI senders inside your VPC. The flow must be
configured with flowSize: FlowSize.LARGE and ndiConfig.ndiState = ENABLED
with at least one NDI discovery server. The VPC connectivity for NDI is
configured on the discovery server entries in NdiConfig, not on the source
itself.
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 |
|---|---|---|
| description? | string | A description of the source. |
| flow | string | The name of the source. |
| source | string | The exact name of an existing NDI sender that's registered with your discovery server. |
description?
Type:
string
(optional, default: no description)
A description of the source.
This description appears only on the MediaConnect console and will not be seen by the end user.
flowSourceName?
Type:
string
(optional, default: a name is generated automatically)
The name of the source.
sourceName?
Type:
string
(optional, default: select the NDI sender after starting the flow)
The exact name of an existing NDI sender that's registered with your discovery server.
If included, the format of this name must be MACHINENAME (ProgramName).
If not specified, you can select the upstream NDI sender from the console after starting the flow.

.NET
Go
Java
Python
TypeScript (