-
public interface SortPresetNamed sort presets controlling participant ordering.
Selected via
CallState.setSortPreset(...). For ad-hoc comparators that don't fit a preset, use the existingCallState.updateParticipantSortingOrder(Comparator)escape hatch.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSortPreset.DefaultThe default grid/continuous-scroll preset.
Order: screen-sharing → pinned (local server recency) →
ifInvisibleOrUnknown(dominantSpeaker → speaking → raised-hand → ingress-source priority → publishing video → publishing audio).UNKNOWN-as-invisible matters for Android continuous scroll: off-screen tiles that haven't rendered yet still get ordered by activity, so they're in the right place when they roll into view.
public classSortPreset.SpeakerLayoutSpeaker-focused layout preset.
Like Default, but dominant speaker sits outside the visibility guard so the spotlight always reflects who's talking, regardless of viewport state.
Order: screen-sharing → pinned → dominant speaker →
ifInvisible(speaking → raised-hand → ingress-source → publishing video → publishing audio).public classSortPreset.LivestreamOrAudioRoomLivestream / audio-room preset. Role-aware: admins, hosts and speakers sort ahead of regular participants among those with the same activity profile.
Order:
ifInvisibleOrUnknown(dominantSpeaker → speaking → raised-hand → ingress-source → publishing video → publishing audio)→ role priority.Matches iOS
livestreamOrAudioRoomSortPresetand ReactlivestreamOrAudioRoomSortPreset.
-