Add, move, or remove one participant, without rebuilding the whole array.
Covers all three cases the composition array makes awkward by hand:
room: 1 adds them to room 1 (or moves them there from wherever they are),
room: null removes them from breakout rooms entirely. Empty trailing rooms
are preserved, because room numbers are positional and collapsing them would
silently renumber everyone else.
Add, move, or remove one participant, without rebuilding the whole array.
Covers all three cases the composition array makes awkward by hand:
room: 1adds them to room 1 (or moves them there from wherever they are),room: nullremoves them from breakout rooms entirely. Empty trailing rooms are preserved, because room numbers are positional and collapsing them would silently renumber everyone else.