Skip to content

StartParticipantReplication

Source: src/AWS/IVSRealtime/StartParticipantReplication.ts

Replicate a participant’s media from the bound source stage into the bound destination stage — e.g. to bring a guest publisher into a second room without a re-publish.

// init — bound to (source, destination)
const startParticipantReplication =
yield* IVSRealtime.StartParticipantReplication(mainStage, overflowStage);
// runtime
yield* startParticipantReplication({
participantId: "abcDEF123",
reconnectWindow: "30 seconds",
});