Skip to content

Refactor/share screen - #65

Merged
Amr3011 merged 9 commits into
devfrom
Refactor/Share-Screen
Mar 12, 2026
Merged

Refactor/share screen#65
Amr3011 merged 9 commits into
devfrom
Refactor/Share-Screen

Conversation

@Amr3011

@Amr3011 Amr3011 commented Mar 12, 2026

Copy link
Copy Markdown
Collaborator

This pull request introduces participant pinning and improves video layout handling in the meeting UI, adds custom fullscreen and PiP controls for screen share, and optimizes device switching logic. The changes enhance user experience by allowing participants to be pinned, improving screen share controls, and reducing unnecessary device restarts.

Participant Pinning & Layout Improvements

  • Added a PinContext and pin button to allow users to pin/unpin participants, updating CustomParticipantTile and VideoLayout to support pinning and custom layouts for pinned participants. [1] [2] [3] [4] [5]
  • Updated CSS to support manual vertical carousel layouts and sidebar for pinned participants, and hide LiveKit's built-in expand button in favor of a custom fullscreen button. [1] [2]

Screen Share Controls

  • Added custom fullscreen and Picture-in-Picture (PiP) controls for screen share, including toolbar UI and event handling for PiP state.

Device Switching Optimization

  • Improved audio and video device switching logic to avoid unnecessary restarts when the selected device is already in use. [1] [2]

Miscellaneous

  • Refactored useParticipantData to use useEnsureTrackRef for improved participant tracking.
  • Updated video preview logic in the meeting lobby to use a persistent videoRef for better React compatibility. [1] [2] [3]

@vercel

vercel Bot commented Mar 12, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
mini-meeting Ready Ready Preview, Comment Mar 12, 2026 5:59pm

@Amr3011
Amr3011 merged commit d67cff1 into dev Mar 12, 2026
3 checks passed
@Amr3011
Amr3011 deleted the Refactor/Share-Screen branch March 12, 2026 18:02
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.

1 participant