Is there a way to dynamically change SelectedVideoStreams for a Chime SDK Media Pipeline?

0

I am building an app with the Chime SDK that has the following requirement: There should be a live stream to a MediaLive channel, where only selected attendees appear, and that selection changes dynamically during the meeting and live stream. These "staged" or "featured" attendees should be the only ones showing up in the live stream. The selection is not based on who is talking (voice activity) but it is controlled by the application.

In this way, other attendees that are in the meeting but not "staged", they can see each other when joining the meeting, but the live stream viewers cannot see them until they are "staged".

I was looking into this tutorial https://aws.amazon.com/blogs/business-productivity/amazon-chime-sdk-launches-live-connector-for-streaming/ and this video https://www.youtube.com/watch?v=9ou2qizJCgU, it seems there is a way to select the attendees to be streamed using SelectedVideoStreams:

                "SourceConfiguration": {
                    "SelectedVideoStreams": { 
                        "AttendeeIds": ["attendeeID1","attendeeID2"], 
                        "ExternalUserIds": [ "string" ]
                    }
                }

But this can be set only on creation of the Chime SDK Media Live Connector Pipeline. I did not find a way to update that selection once the pipeline was created and it is streaming to my MediaLive Channel input via RTMP.

Is there any way to accomplish this?

asked 9 months ago121 views
No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions