[Wayland] Screen sharing permission asked twice for Jitsi on GNOME Wayland
Categories
(Core :: WebRTC, defect, P3)
Tracking
()
People
(Reporter: jan.public, Unassigned)
References
(Blocks 1 open bug)
Details
User Agent: Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:84.0) Gecko/20100101 Firefox/84.0
Steps to reproduce:
System info: Fedora 33, GNOME Wayland.
Sharing screens via Jitsi (https://meet.jit.si) by clicking on the Share screen button at the lower left.
- Firefox ask permission: Select window or screen
- Select Use operating system settings
- Click Allow
- Select Single window
- Select the window you want to share
- Click Share
Actual results:
A new window titled "Share screen", similar as the previous one appears.
Expected results:
The window should have been shared without presenting the "Share screen" window again.
Comment 1•4 years ago
|
||
Bugbug thinks this bug should belong to this component, but please revert this change in case of error.
Comment 2•4 years ago
|
||
You're right, I can reproduce it. Not sure why Jitsi asks for the permissions twice. For instance BlueJeans or https://mozilla.github.io/webrtc-landing/gum_test.html (webrtc test page) ask only once. I expect Jitsi creates some screen preview or so.
Updated•4 years ago
|
Updated•4 years ago
|
Comment 3•4 years ago
|
||
Marking confirmed based on Comment 2. Thank you for filing the bug!
Today I tested the behavior on the same system in a GNOME on Xorg session. I noticed that the behavior quite differs from the behavior on Wayland. In Xorg, you get a small preview of the window that you are going to share in the dropdown window when you select a specific window to share. Also, you do not have to provide permission twice.
Comment 5•4 years ago
|
||
It's because any access to screen sharing API needs permission from user on Wayland. Xorg does not need that, you can do anything you want on Xorg, the permission dialog you see on Xorg is just Firefox window, not a system one.
Updated•4 years ago
|
I noticed that I only have to provide the sharing permission once nowadays.
Using: 88.0.1 (64-bit) on Fedora GNOME Wayland.
Closing as: Resolved, WorksForMe.
Description
•