[3.0 Share webcam] Keep the webcam preview modal open when sharing multiple webcams

Author: hiroshisugaCreated Jul 30, 2026Updated Sep 17, 2026
Labelsmodule: client

Describe the bug When multiple webcams are available, sharing more than one webcam requires repeatedly reopening the webcam preview modal.

After a user selects a camera and clicks Share webcam, the camera starts sharing, but the modal closes immediately. To share another camera, the user must start the webcam control again, re-launch the preview modal, select the next camera, and click Share webcam again. To start the webcam control, moreover, the user has to click the small '^' button beside the larger camera sharing button, which actually stops the webcam sharing.

This makes the existing multiple-webcam sharing functionality unnecessarily cumbersome.

This issue is related to #22734, which discusses the confusing actions and preview behavior in the same modal. However, this issue specifically concerns keeping the modal open while adding multiple webcams consecutively.

To Reproduce Steps to reproduce the behavior:

  1. Join a meeting with at least two webcam devices connected.
  2. Open the webcam preview modal.
  3. Select the first webcam and click Share webcam.
  4. Observe that the webcam starts sharing and the modal closes.
  5. Open the webcam preview modal again to share the second webcam.

Expected behavior After clicking Share webcam, the selected webcam should start sharing while the preview modal remains open, provided that another webcam can still be shared.

The user should then be able to select another webcam and share it from the same modal. The modal should close only when the user explicitly closes it or finishes adding webcams.

Actual behavior The selected webcam starts sharing, but the preview modal closes immediately.

As a result, the user must reopen the webcam controls and the preview modal for every additional webcam they want to share.

Source: bigbluebutton/bigbluebutton