- Newest
- Most votes
- Most comments
Reviewing the post you are using as a reference, it indicates needing to redo the video composition each time a participant is added. "But remember - if we only do this when a participant is added, the previous video compositions will still reflect the composition that was applied when they were added. That is where the updateVideoCompositions() function comes into the picture. Here we loop over the participantIds array, grab the proper composition from layouts, and use the updateVideoDeviceComposition() (docs) method of the broadcastClient."
Please validate that you are updating the complete VideoComposition and not just adding a new attendee. Similar actions are needed when a participant leaves the Stage. "We should also make sure that when a participant leaves the stage that we remove the participant id from the array and again update the composition for all videos."
When a participant blanks their video, the connection to IVS Stage still remains, though only with black video. Unless the participant leaves or is removed from the Stage, their video will persist.
Relevant content
- asked 7 months ago
- asked a year ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated 3 years ago
- AWS OFFICIALUpdated a year ago
okay, Thanks for the reply