Skip to content

Commit 6e0d3c0

Browse files
author
awstools
committed
feat(client-mediaconnect): This change allows the customer to use the SRT Caller protocol as part of their flows
1 parent 22b9a0e commit 6e0d3c0

File tree

3 files changed

+660
-390
lines changed

3 files changed

+660
-390
lines changed

clients/client-mediaconnect/src/models/models_0.ts

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -288,6 +288,7 @@ export enum Protocol {
288288
rist = "rist",
289289
rtp = "rtp",
290290
rtp_fec = "rtp-fec",
291+
srt_caller = "srt-caller",
291292
srt_listener = "srt-listener",
292293
st2110_jpegxs = "st2110-jpegxs",
293294
zixi_pull = "zixi-pull",
@@ -950,6 +951,16 @@ export interface Transport {
950951
*/
951952
SmoothingLatency?: number;
952953

954+
/**
955+
* Source IP or domain name for SRT-caller protocol.
956+
*/
957+
SourceListenerAddress?: string;
958+
959+
/**
960+
* Source port for SRT-caller protocol.
961+
*/
962+
SourceListenerPort?: number;
963+
953964
/**
954965
* The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.
955966
*/
@@ -1172,6 +1183,16 @@ export interface SetSourceRequest {
11721183
*/
11731184
SenderIpAddress?: string;
11741185

1186+
/**
1187+
* Source IP or domain name for SRT-caller protocol.
1188+
*/
1189+
SourceListenerAddress?: string;
1190+
1191+
/**
1192+
* Source port for SRT-caller protocol.
1193+
*/
1194+
SourceListenerPort?: number;
1195+
11751196
/**
11761197
* The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.
11771198
*/
@@ -2667,6 +2688,16 @@ export interface UpdateFlowSourceRequest {
26672688
*/
26682689
SourceArn: string | undefined;
26692690

2691+
/**
2692+
* Source IP or domain name for SRT-caller protocol.
2693+
*/
2694+
SourceListenerAddress?: string;
2695+
2696+
/**
2697+
* Source port for SRT-caller protocol.
2698+
*/
2699+
SourceListenerPort?: number;
2700+
26702701
/**
26712702
* The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.
26722703
*/

clients/client-mediaconnect/src/protocols/Aws_restJson1.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -960,6 +960,8 @@ export const serializeAws_restJson1UpdateFlowSourceCommand = async (
960960
...(input.Protocol != null && { protocol: input.Protocol }),
961961
...(input.SenderControlPort != null && { senderControlPort: input.SenderControlPort }),
962962
...(input.SenderIpAddress != null && { senderIpAddress: input.SenderIpAddress }),
963+
...(input.SourceListenerAddress != null && { sourceListenerAddress: input.SourceListenerAddress }),
964+
...(input.SourceListenerPort != null && { sourceListenerPort: input.SourceListenerPort }),
963965
...(input.StreamId != null && { streamId: input.StreamId }),
964966
...(input.VpcInterfaceName != null && { vpcInterfaceName: input.VpcInterfaceName }),
965967
...(input.WhitelistCidr != null && { whitelistCidr: input.WhitelistCidr }),
@@ -3134,6 +3136,8 @@ const serializeAws_restJson1SetSourceRequest = (input: SetSourceRequest, context
31343136
...(input.Protocol != null && { protocol: input.Protocol }),
31353137
...(input.SenderControlPort != null && { senderControlPort: input.SenderControlPort }),
31363138
...(input.SenderIpAddress != null && { senderIpAddress: input.SenderIpAddress }),
3139+
...(input.SourceListenerAddress != null && { sourceListenerAddress: input.SourceListenerAddress }),
3140+
...(input.SourceListenerPort != null && { sourceListenerPort: input.SourceListenerPort }),
31373141
...(input.StreamId != null && { streamId: input.StreamId }),
31383142
...(input.VpcInterfaceName != null && { vpcInterfaceName: input.VpcInterfaceName }),
31393143
...(input.WhitelistCidr != null && { whitelistCidr: input.WhitelistCidr }),
@@ -3716,6 +3720,8 @@ const deserializeAws_restJson1Transport = (output: any, context: __SerdeContext)
37163720
SenderControlPort: __expectInt32(output.senderControlPort),
37173721
SenderIpAddress: __expectString(output.senderIpAddress),
37183722
SmoothingLatency: __expectInt32(output.smoothingLatency),
3723+
SourceListenerAddress: __expectString(output.sourceListenerAddress),
3724+
SourceListenerPort: __expectInt32(output.sourceListenerPort),
37193725
StreamId: __expectString(output.streamId),
37203726
} as any;
37213727
};

0 commit comments

Comments
 (0)