Skip to content

Commit

Permalink
feat(client-mediaconnect): This change allows the customer to use the…
Browse files Browse the repository at this point in the history
… SRT Caller protocol as part of their flows
  • Loading branch information
awstools committed Sep 19, 2022
1 parent 22b9a0e commit 6e0d3c0
Show file tree
Hide file tree
Showing 3 changed files with 660 additions and 390 deletions.
31 changes: 31 additions & 0 deletions clients/client-mediaconnect/src/models/models_0.ts
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,7 @@ export enum Protocol {
rist = "rist",
rtp = "rtp",
rtp_fec = "rtp-fec",
srt_caller = "srt-caller",
srt_listener = "srt-listener",
st2110_jpegxs = "st2110-jpegxs",
zixi_pull = "zixi-pull",
Expand Down Expand Up @@ -950,6 +951,16 @@ export interface Transport {
*/
SmoothingLatency?: number;

/**
* Source IP or domain name for SRT-caller protocol.
*/
SourceListenerAddress?: string;

/**
* Source port for SRT-caller protocol.
*/
SourceListenerPort?: number;

/**
* The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.
*/
Expand Down Expand Up @@ -1172,6 +1183,16 @@ export interface SetSourceRequest {
*/
SenderIpAddress?: string;

/**
* Source IP or domain name for SRT-caller protocol.
*/
SourceListenerAddress?: string;

/**
* Source port for SRT-caller protocol.
*/
SourceListenerPort?: number;

/**
* The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.
*/
Expand Down Expand Up @@ -2667,6 +2688,16 @@ export interface UpdateFlowSourceRequest {
*/
SourceArn: string | undefined;

/**
* Source IP or domain name for SRT-caller protocol.
*/
SourceListenerAddress?: string;

/**
* Source port for SRT-caller protocol.
*/
SourceListenerPort?: number;

/**
* The stream ID that you want to use for this transport. This parameter applies only to Zixi-based streams.
*/
Expand Down
6 changes: 6 additions & 0 deletions clients/client-mediaconnect/src/protocols/Aws_restJson1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -960,6 +960,8 @@ export const serializeAws_restJson1UpdateFlowSourceCommand = async (
...(input.Protocol != null && { protocol: input.Protocol }),
...(input.SenderControlPort != null && { senderControlPort: input.SenderControlPort }),
...(input.SenderIpAddress != null && { senderIpAddress: input.SenderIpAddress }),
...(input.SourceListenerAddress != null && { sourceListenerAddress: input.SourceListenerAddress }),
...(input.SourceListenerPort != null && { sourceListenerPort: input.SourceListenerPort }),
...(input.StreamId != null && { streamId: input.StreamId }),
...(input.VpcInterfaceName != null && { vpcInterfaceName: input.VpcInterfaceName }),
...(input.WhitelistCidr != null && { whitelistCidr: input.WhitelistCidr }),
Expand Down Expand Up @@ -3134,6 +3136,8 @@ const serializeAws_restJson1SetSourceRequest = (input: SetSourceRequest, context
...(input.Protocol != null && { protocol: input.Protocol }),
...(input.SenderControlPort != null && { senderControlPort: input.SenderControlPort }),
...(input.SenderIpAddress != null && { senderIpAddress: input.SenderIpAddress }),
...(input.SourceListenerAddress != null && { sourceListenerAddress: input.SourceListenerAddress }),
...(input.SourceListenerPort != null && { sourceListenerPort: input.SourceListenerPort }),
...(input.StreamId != null && { streamId: input.StreamId }),
...(input.VpcInterfaceName != null && { vpcInterfaceName: input.VpcInterfaceName }),
...(input.WhitelistCidr != null && { whitelistCidr: input.WhitelistCidr }),
Expand Down Expand Up @@ -3716,6 +3720,8 @@ const deserializeAws_restJson1Transport = (output: any, context: __SerdeContext)
SenderControlPort: __expectInt32(output.senderControlPort),
SenderIpAddress: __expectString(output.senderIpAddress),
SmoothingLatency: __expectInt32(output.smoothingLatency),
SourceListenerAddress: __expectString(output.sourceListenerAddress),
SourceListenerPort: __expectInt32(output.sourceListenerPort),
StreamId: __expectString(output.streamId),
} as any;
};
Expand Down
Loading

0 comments on commit 6e0d3c0

Please sign in to comment.