Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No documented resource on the Event bridge event triggered when a Chime Media Concatenate Pipeline is complete #4485

Open
Demi-ob opened this issue Aug 27, 2023 · 3 comments
Assignees
Labels
documentation This is a problem with documentation. p2 This is a standard priority issue

Comments

@Demi-ob
Copy link

Demi-ob commented Aug 27, 2023

Describe the issue

What event bridge event is triggered when a pipeline concatenation is complete? I can't find any docs on it.
I am working on implementing the AWS chime pipeline concatenation to merge videos/audio recorded from a chime session.
What Event bridge event is triggered when the concatenation is completed successfully? I don't see anything in the docs on it

Links

https://docs.aws.amazon.com/chime-sdk/latest/dg/create-concat-pipe.html

@Demi-ob Demi-ob added documentation This is a problem with documentation. needs-triage This issue or PR still needs to be triaged. labels Aug 27, 2023
@Demi-ob
Copy link
Author

Demi-ob commented Aug 31, 2023

Any update here?

@ajredniwja
Copy link
Member

Hey @Demi-ob thanks for opening this issue, I am not sure how you are consuming this SDK. The dos you have mentioned is of the chime-sdk.

Usually you would trigger a custom event using the SDK and incorporate the event triggering to your pipeline.

If you are using the chime-sdk in JS which is different from aws-sdk-js, depending on the usage, I would ask the specific questions at https://github.com/aws-samples/amazon-chime-sdk you will also be able to find a couple of examples there.

@ajredniwja ajredniwja added p2 This is a standard priority issue and removed needs-triage This issue or PR still needs to be triaged. labels Aug 31, 2023
@Demi-ob
Copy link
Author

Demi-ob commented Sep 1, 2023

The docs I referenced is making use of aws-sdk in nodejs to create a MediaConcatenatePipeline on the backend.
e.g

const chimeWithMediaPipeline = new AWS.ChimeSDKMediaPipelines({
  region: "us-east-1",
});
const createdMediaPipelineConcat = await chimeWithMediaPipeline
    .createMediaConcatenationPipeline(mediaConcatenatePipelineParams)
    .promise();

Everything else works fine, however there is no documentation anywhere on the Event Bridge event that gets triggered when a MediaCapturePipeline is completed (or any state change).
Therefore I have no way to know that a MediaCapturePipeline is complete so I can update the record state in my own database.

For the MediaCapturePipeline (Not to be mistaken with MediaConcatenatePipeline),
i.e

const createdMediaPipeline = await chimeWithMediaPipeline
    .createMediaCapturePipeline(mediaCapturePipelineParams)
    .promise();

I have an EventBridge listener that that enqueues an SQS on event or state change i.e
"chime:MediaPipelineInProgress" "chime:MediaPipelineDeleted" "chime:MediaPipelinePermanentFailure"
Then I have a listener in my backend application on the SQS so I can process the different state changes.

I could find any resource for this on createMediaConcatenationPipeline in any documentation or even in the EventBridge templates

Basically How do i know that a MediaConcatenationPipeline is complete, failed or state change?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation This is a problem with documentation. p2 This is a standard priority issue
Projects
None yet
Development

No branches or pull requests

2 participants