Open Bug 1552456 Opened 3 years ago Updated 4 months ago

Support select single monitor in multiple monitor setup for getUserMedia on Linux

Categories

(Core :: WebRTC: Audio/Video, defect, P3)

66 Branch
Desktop
Linux
defect

Tracking

()

People

(Reporter: sebastien.arod, Unassigned)

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.18 Safari/537.36

Steps to reproduce:

Using Firefox on Ubuntu with multiple monitors using extended desktop.
Share your screen in application like Google Meet or Hangout.

Actual results:

User can select what to share from:

  • the list of windows
  • Entire Screen. This shares all screens combined to the large screen.

Expected results:

User should be able to choose the screen/monitor to share.

Note that current behaviour matches the description of what was expected in the scope of 1037997 (See https://bugzilla.mozilla.org/show_bug.cgi?id=1037997#c11).

However current situation is very problematic for video conferencing usecases because:

  • You often want to share multiple windows and switching between widows every times soon leads to "oh sorry I forgot to share the right window...".
  • Sharing all screens combined into a "large screen" is also a problem because other participant cannot read the content.

For what it's worth Chrome as a similar issue https://bugs.chromium.org/p/chromium/issues/detail?id=396091 and this issue is the most starred issue related to WebRTC.

Summary: Support select monitor in multiple monitors for getUserMedia on Linux → Support select single monitor in multiple monitor setup for getUserMedia on Linux
Component: Untriaged → WebRTC: Audio/Video
OS: Unspecified → Linux
Product: Firefox → Core
Hardware: Unspecified → Desktop
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: -- → P3

In chromium this feature is in todo list: https://webrtc.googlesource.com/src/+/refs/heads/master/modules/desktop_capture/linux/screen_capturer_x11.cc#191 and seems they starts implementing.
Maybe Firefox can reuse same code?

And here https://github.com/Ashark/hliss I have founds very hacky workaround for this bug.

Chromium successfully implement feature: https://bugs.chromium.org/p/chromium/issues/detail?id=396091#c39!

Yes it is!

For reference, this is latest status from the duplicate bug report https://bugzilla.mozilla.org/show_bug.cgi?id=1412333:

This feature is available in the upstream libwebrtc and will be included in Firefox's next import of it.

(Presumably there may be some UX/UI work needed as well?)

The issue is still present in Firefox 81.0.2.
Is there any ETA on the fix or when the latest libwebrtc will be imported to Firefox?

This bug makes the screen sharing unusable in Firefox when using multiple monitors, as the screen sent to viewers is too wide on their side.

Any news? The issue is still affecting Firefox, at least 82.0.3

Problem still present in 78.4.1esr (64-bit), Debian 10.

shouldn't this be closed as a dupe of #1412333?

(In reply to The Anarcat from comment #11)

shouldn't this be closed as a dupe of #1412333?

Yes it is, as I already said one year ago in https://bugzilla.mozilla.org/show_bug.cgi?id=1552456#c6

The solver for this is https://bugzilla.mozilla.org/show_bug.cgi?id=1654112 which is still in the works...

You need to log in before you can comment on or make changes to this bug.