Skip to content

Commit

Permalink
feat(client-chime-sdk-media-pipelines): Adds support for sending WebR…
Browse files Browse the repository at this point in the history
…TC audio to Amazon Kineses Video Streams.
  • Loading branch information
awstools committed Sep 25, 2023
1 parent 74bb52e commit 05242c2
Show file tree
Hide file tree
Showing 16 changed files with 3,737 additions and 72 deletions.
48 changes: 48 additions & 0 deletions clients/client-chime-sdk-media-pipelines/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,22 @@ CreateMediaLiveConnectorPipeline

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/classes/createmedialiveconnectorpipelinecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/createmedialiveconnectorpipelinecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/createmedialiveconnectorpipelinecommandoutput.html)

</details>
<details>
<summary>
CreateMediaPipelineKinesisVideoStreamPool
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/classes/createmediapipelinekinesisvideostreampoolcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/createmediapipelinekinesisvideostreampoolcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/createmediapipelinekinesisvideostreampoolcommandoutput.html)

</details>
<details>
<summary>
CreateMediaStreamPipeline
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/classes/createmediastreampipelinecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/createmediastreampipelinecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/createmediastreampipelinecommandoutput.html)

</details>
<details>
<summary>
Expand All @@ -273,6 +289,14 @@ DeleteMediaPipeline

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/classes/deletemediapipelinecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/deletemediapipelinecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/deletemediapipelinecommandoutput.html)

</details>
<details>
<summary>
DeleteMediaPipelineKinesisVideoStreamPool
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/classes/deletemediapipelinekinesisvideostreampoolcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/deletemediapipelinekinesisvideostreampoolcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/deletemediapipelinekinesisvideostreampoolcommandoutput.html)

</details>
<details>
<summary>
Expand All @@ -297,6 +321,14 @@ GetMediaPipeline

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/classes/getmediapipelinecommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/getmediapipelinecommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/getmediapipelinecommandoutput.html)

</details>
<details>
<summary>
GetMediaPipelineKinesisVideoStreamPool
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/classes/getmediapipelinekinesisvideostreampoolcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/getmediapipelinekinesisvideostreampoolcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/getmediapipelinekinesisvideostreampoolcommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -329,6 +361,14 @@ ListMediaInsightsPipelineConfigurations

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/classes/listmediainsightspipelineconfigurationscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/listmediainsightspipelineconfigurationscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/listmediainsightspipelineconfigurationscommandoutput.html)

</details>
<details>
<summary>
ListMediaPipelineKinesisVideoStreamPools
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/classes/listmediapipelinekinesisvideostreampoolscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/listmediapipelinekinesisvideostreampoolscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/listmediapipelinekinesisvideostreampoolscommandoutput.html)

</details>
<details>
<summary>
Expand Down Expand Up @@ -410,3 +450,11 @@ UpdateMediaInsightsPipelineStatus
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/classes/updatemediainsightspipelinestatuscommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/updatemediainsightspipelinestatuscommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/updatemediainsightspipelinestatuscommandoutput.html)

</details>
<details>
<summary>
UpdateMediaPipelineKinesisVideoStreamPool
</summary>

[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/classes/updatemediapipelinekinesisvideostreampoolcommand.html) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/updatemediapipelinekinesisvideostreampoolcommandinput.html) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/clients/client-chime-sdk-media-pipelines/interfaces/updatemediapipelinekinesisvideostreampoolcommandoutput.html)

</details>
138 changes: 138 additions & 0 deletions clients/client-chime-sdk-media-pipelines/src/ChimeSDKMediaPipelines.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,16 @@ import {
CreateMediaLiveConnectorPipelineCommandInput,
CreateMediaLiveConnectorPipelineCommandOutput,
} from "./commands/CreateMediaLiveConnectorPipelineCommand";
import {
CreateMediaPipelineKinesisVideoStreamPoolCommand,
CreateMediaPipelineKinesisVideoStreamPoolCommandInput,
CreateMediaPipelineKinesisVideoStreamPoolCommandOutput,
} from "./commands/CreateMediaPipelineKinesisVideoStreamPoolCommand";
import {
CreateMediaStreamPipelineCommand,
CreateMediaStreamPipelineCommandInput,
CreateMediaStreamPipelineCommandOutput,
} from "./commands/CreateMediaStreamPipelineCommand";
import {
DeleteMediaCapturePipelineCommand,
DeleteMediaCapturePipelineCommandInput,
Expand All @@ -43,6 +53,11 @@ import {
DeleteMediaPipelineCommandInput,
DeleteMediaPipelineCommandOutput,
} from "./commands/DeleteMediaPipelineCommand";
import {
DeleteMediaPipelineKinesisVideoStreamPoolCommand,
DeleteMediaPipelineKinesisVideoStreamPoolCommandInput,
DeleteMediaPipelineKinesisVideoStreamPoolCommandOutput,
} from "./commands/DeleteMediaPipelineKinesisVideoStreamPoolCommand";
import {
GetMediaCapturePipelineCommand,
GetMediaCapturePipelineCommandInput,
Expand All @@ -58,6 +73,11 @@ import {
GetMediaPipelineCommandInput,
GetMediaPipelineCommandOutput,
} from "./commands/GetMediaPipelineCommand";
import {
GetMediaPipelineKinesisVideoStreamPoolCommand,
GetMediaPipelineKinesisVideoStreamPoolCommandInput,
GetMediaPipelineKinesisVideoStreamPoolCommandOutput,
} from "./commands/GetMediaPipelineKinesisVideoStreamPoolCommand";
import {
GetSpeakerSearchTaskCommand,
GetSpeakerSearchTaskCommandInput,
Expand All @@ -78,6 +98,11 @@ import {
ListMediaInsightsPipelineConfigurationsCommandInput,
ListMediaInsightsPipelineConfigurationsCommandOutput,
} from "./commands/ListMediaInsightsPipelineConfigurationsCommand";
import {
ListMediaPipelineKinesisVideoStreamPoolsCommand,
ListMediaPipelineKinesisVideoStreamPoolsCommandInput,
ListMediaPipelineKinesisVideoStreamPoolsCommandOutput,
} from "./commands/ListMediaPipelineKinesisVideoStreamPoolsCommand";
import {
ListMediaPipelinesCommand,
ListMediaPipelinesCommandInput,
Expand Down Expand Up @@ -124,23 +149,33 @@ import {
UpdateMediaInsightsPipelineStatusCommandInput,
UpdateMediaInsightsPipelineStatusCommandOutput,
} from "./commands/UpdateMediaInsightsPipelineStatusCommand";
import {
UpdateMediaPipelineKinesisVideoStreamPoolCommand,
UpdateMediaPipelineKinesisVideoStreamPoolCommandInput,
UpdateMediaPipelineKinesisVideoStreamPoolCommandOutput,
} from "./commands/UpdateMediaPipelineKinesisVideoStreamPoolCommand";

const commands = {
CreateMediaCapturePipelineCommand,
CreateMediaConcatenationPipelineCommand,
CreateMediaInsightsPipelineCommand,
CreateMediaInsightsPipelineConfigurationCommand,
CreateMediaLiveConnectorPipelineCommand,
CreateMediaPipelineKinesisVideoStreamPoolCommand,
CreateMediaStreamPipelineCommand,
DeleteMediaCapturePipelineCommand,
DeleteMediaInsightsPipelineConfigurationCommand,
DeleteMediaPipelineCommand,
DeleteMediaPipelineKinesisVideoStreamPoolCommand,
GetMediaCapturePipelineCommand,
GetMediaInsightsPipelineConfigurationCommand,
GetMediaPipelineCommand,
GetMediaPipelineKinesisVideoStreamPoolCommand,
GetSpeakerSearchTaskCommand,
GetVoiceToneAnalysisTaskCommand,
ListMediaCapturePipelinesCommand,
ListMediaInsightsPipelineConfigurationsCommand,
ListMediaPipelineKinesisVideoStreamPoolsCommand,
ListMediaPipelinesCommand,
ListTagsForResourceCommand,
StartSpeakerSearchTaskCommand,
Expand All @@ -151,6 +186,7 @@ const commands = {
UntagResourceCommand,
UpdateMediaInsightsPipelineConfigurationCommand,
UpdateMediaInsightsPipelineStatusCommand,
UpdateMediaPipelineKinesisVideoStreamPoolCommand,
};

export interface ChimeSDKMediaPipelines {
Expand Down Expand Up @@ -239,6 +275,40 @@ export interface ChimeSDKMediaPipelines {
cb: (err: any, data?: CreateMediaLiveConnectorPipelineCommandOutput) => void
): void;

/**
* @see {@link CreateMediaPipelineKinesisVideoStreamPoolCommand}
*/
createMediaPipelineKinesisVideoStreamPool(
args: CreateMediaPipelineKinesisVideoStreamPoolCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateMediaPipelineKinesisVideoStreamPoolCommandOutput>;
createMediaPipelineKinesisVideoStreamPool(
args: CreateMediaPipelineKinesisVideoStreamPoolCommandInput,
cb: (err: any, data?: CreateMediaPipelineKinesisVideoStreamPoolCommandOutput) => void
): void;
createMediaPipelineKinesisVideoStreamPool(
args: CreateMediaPipelineKinesisVideoStreamPoolCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateMediaPipelineKinesisVideoStreamPoolCommandOutput) => void
): void;

/**
* @see {@link CreateMediaStreamPipelineCommand}
*/
createMediaStreamPipeline(
args: CreateMediaStreamPipelineCommandInput,
options?: __HttpHandlerOptions
): Promise<CreateMediaStreamPipelineCommandOutput>;
createMediaStreamPipeline(
args: CreateMediaStreamPipelineCommandInput,
cb: (err: any, data?: CreateMediaStreamPipelineCommandOutput) => void
): void;
createMediaStreamPipeline(
args: CreateMediaStreamPipelineCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: CreateMediaStreamPipelineCommandOutput) => void
): void;

/**
* @see {@link DeleteMediaCapturePipelineCommand}
*/
Expand Down Expand Up @@ -290,6 +360,23 @@ export interface ChimeSDKMediaPipelines {
cb: (err: any, data?: DeleteMediaPipelineCommandOutput) => void
): void;

/**
* @see {@link DeleteMediaPipelineKinesisVideoStreamPoolCommand}
*/
deleteMediaPipelineKinesisVideoStreamPool(
args: DeleteMediaPipelineKinesisVideoStreamPoolCommandInput,
options?: __HttpHandlerOptions
): Promise<DeleteMediaPipelineKinesisVideoStreamPoolCommandOutput>;
deleteMediaPipelineKinesisVideoStreamPool(
args: DeleteMediaPipelineKinesisVideoStreamPoolCommandInput,
cb: (err: any, data?: DeleteMediaPipelineKinesisVideoStreamPoolCommandOutput) => void
): void;
deleteMediaPipelineKinesisVideoStreamPool(
args: DeleteMediaPipelineKinesisVideoStreamPoolCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: DeleteMediaPipelineKinesisVideoStreamPoolCommandOutput) => void
): void;

/**
* @see {@link GetMediaCapturePipelineCommand}
*/
Expand Down Expand Up @@ -341,6 +428,23 @@ export interface ChimeSDKMediaPipelines {
cb: (err: any, data?: GetMediaPipelineCommandOutput) => void
): void;

/**
* @see {@link GetMediaPipelineKinesisVideoStreamPoolCommand}
*/
getMediaPipelineKinesisVideoStreamPool(
args: GetMediaPipelineKinesisVideoStreamPoolCommandInput,
options?: __HttpHandlerOptions
): Promise<GetMediaPipelineKinesisVideoStreamPoolCommandOutput>;
getMediaPipelineKinesisVideoStreamPool(
args: GetMediaPipelineKinesisVideoStreamPoolCommandInput,
cb: (err: any, data?: GetMediaPipelineKinesisVideoStreamPoolCommandOutput) => void
): void;
getMediaPipelineKinesisVideoStreamPool(
args: GetMediaPipelineKinesisVideoStreamPoolCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: GetMediaPipelineKinesisVideoStreamPoolCommandOutput) => void
): void;

/**
* @see {@link GetSpeakerSearchTaskCommand}
*/
Expand Down Expand Up @@ -409,6 +513,23 @@ export interface ChimeSDKMediaPipelines {
cb: (err: any, data?: ListMediaInsightsPipelineConfigurationsCommandOutput) => void
): void;

/**
* @see {@link ListMediaPipelineKinesisVideoStreamPoolsCommand}
*/
listMediaPipelineKinesisVideoStreamPools(
args: ListMediaPipelineKinesisVideoStreamPoolsCommandInput,
options?: __HttpHandlerOptions
): Promise<ListMediaPipelineKinesisVideoStreamPoolsCommandOutput>;
listMediaPipelineKinesisVideoStreamPools(
args: ListMediaPipelineKinesisVideoStreamPoolsCommandInput,
cb: (err: any, data?: ListMediaPipelineKinesisVideoStreamPoolsCommandOutput) => void
): void;
listMediaPipelineKinesisVideoStreamPools(
args: ListMediaPipelineKinesisVideoStreamPoolsCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: ListMediaPipelineKinesisVideoStreamPoolsCommandOutput) => void
): void;

/**
* @see {@link ListMediaPipelinesCommand}
*/
Expand Down Expand Up @@ -566,6 +687,23 @@ export interface ChimeSDKMediaPipelines {
options: __HttpHandlerOptions,
cb: (err: any, data?: UpdateMediaInsightsPipelineStatusCommandOutput) => void
): void;

/**
* @see {@link UpdateMediaPipelineKinesisVideoStreamPoolCommand}
*/
updateMediaPipelineKinesisVideoStreamPool(
args: UpdateMediaPipelineKinesisVideoStreamPoolCommandInput,
options?: __HttpHandlerOptions
): Promise<UpdateMediaPipelineKinesisVideoStreamPoolCommandOutput>;
updateMediaPipelineKinesisVideoStreamPool(
args: UpdateMediaPipelineKinesisVideoStreamPoolCommandInput,
cb: (err: any, data?: UpdateMediaPipelineKinesisVideoStreamPoolCommandOutput) => void
): void;
updateMediaPipelineKinesisVideoStreamPool(
args: UpdateMediaPipelineKinesisVideoStreamPoolCommandInput,
options: __HttpHandlerOptions,
cb: (err: any, data?: UpdateMediaPipelineKinesisVideoStreamPoolCommandOutput) => void
): void;
}

/**
Expand Down
Loading

0 comments on commit 05242c2

Please sign in to comment.