MediaSFU Shared
    Preparing search index...

    Function setBreakoutRooms

    • Publish a full breakout-room composition.

      The SDK models breakout rooms as an array of arrays — outer index is the room number, inner entries are { name, breakRoom }. Adding, removing, or moving someone is therefore just editing that array and re-emitting it; there is no per-participant verb. startBreakout opens them, updateBreakout amends a running set, and the SDK picks by whether they are already started.

      Prefer assignParticipantToBreakoutRoom for single-person changes.

      Parameters

      Returns Promise<{ ok: boolean; error: string }>