The spotlight participant: a pin wins (when pinning is enabled), then the active speaker, then the agent, then the first remote, then local.
The room lays out through the shared media stage: use LayoutMediaStage (its Stage) or SelectSpotlight from @memberjunction/ai-realtime-client/media, with each view mapped by ToMediaParticipant from @memberjunction/livekit-room-core.
LayoutMediaStage
Stage
SelectSpotlight
@memberjunction/ai-realtime-client/media
ToMediaParticipant
@memberjunction/livekit-room-core
The spotlight participant: a pin wins (when pinning is enabled), then the active speaker, then the agent, then the first remote, then local.