VIDSOL-636: Support displaying multiple screen sharings (up to 2) in ActiveSpeakerLayout#113
Draft
VIDSOL-636: Support displaying multiple screen sharings (up to 2) in ActiveSpeakerLayout#113
Conversation
When two screenshare participants are present at the front of the sorted participants list, both are displayed in the main content area: - Horizontal layout: stacked vertically in the 70% width main area - Vertical layout: stacked vertically above the regular participants Non-screenshare participants continue to appear in the sidebar (horizontal) or below (vertical) as before. Agent-Logs-Url: https://github.com/Vonage/vonage-video-ios-app/sessions/8635dfa0-b806-4f1c-8350-131e591cd5da Co-authored-by: VZaphod <210490533+VZaphod@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add support for displaying two screen sharings
Support displaying multiple screen sharings (up to 2) in ActiveSpeakerLayout
Mar 26, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is this PR doing?
When two screenshare participants are present, both are now displayed in the main content area instead of sending the second one to the sidebar/overflow.
HorizontalActiveSpeakerLayoutView: Main area wraps in aVStackto stack both screenshares vertically within the 70% width region. Sidebar shows remaining non-screenshare participants.VerticalActiveSpeakerLayoutView: Second screenshare renders below the first, above the regular participant tiles.secondScreensharecomputed property that checks if the first two sorted participants are screenshares, and adjustsrestOfParticipantsaccordingly.Single screenshare and no-screenshare cases are unchanged.
How should this be manually tested?
What are the relevant tickets?
VIDSOL-636
Justification for skipping ci, if applied?
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.