Skip to content

GetStageSession

Source: src/AWS/IVSRealtime/GetStageSession.ts

Read a session of the bound stage — its start time and, once the last participant leaves, its end time.

// init
const getStageSession = yield* IVSRealtime.GetStageSession(stage);
// runtime
const { stageSession } = yield* getStageSession({
sessionId: "st-a1b2c3d4e5f6",
});