Skip to content

Conversation

@vishal2005025
Copy link
Contributor

Fixes: #16249

What this PR does

Adds a new configuration flag disableAutoResortParticipants (default: false) that allows deployments to disable the automatic resorting of the Meeting Participants list.
When set to true, the participants list remains in a stable order instead of dynamically reordering based on active/dominant speakers.
Raised-hand and pinned participant behaviors remain unchanged.

Why

Automatic participant resorting (based on who is speaking) can make moderation tasks difficult - especially in workflows where moderators must quickly locate and move newly joined users into breakout rooms.
This flag provides administrators the flexibility to keep a stable participant list when needed.

Implementation

  • Added new config flag in config.js:

    disableAutoResortParticipants: false
  • Updated filmstrip ordering logic (functions.any.ts) to skip dynamic speaker-based sorting when the flag is enabled.

  • Updated Participants Pane (functions.ts) to avoid promoting the dominant speaker when the flag is enabled.

  • Added TypeScript field disableAutoResortParticipants?: boolean; to configType.ts for proper typing.

@jitsi-jenkins
Copy link

Hi, thanks for your contribution!
If you haven't already done so, could you please make sure you sign our CLA (https://jitsi.org/icla for individuals and https://jitsi.org/ccla for corporations)? We would unfortunately be unable to merge your patch unless we have that piece :(.

@vishal2005025
Copy link
Contributor Author

@saghul @damencho Please take a look when you get a moment.
Once this PR is approved, I can also wire this up into the UI if that's something you'd like to support. Happy to follow up with an additional PR for that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Ability to disable automatically resorting Meeting Participants

2 participants