Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Chrome: Permission prompts missing in web if desktop deeplinking is enabled, but not used #14737

Open
csett86 opened this issue May 12, 2024 · 5 comments

Comments

@csett86
Copy link
Member

csett86 commented May 12, 2024

Description:

On Chrome 124, if the desktop deeplinking is enabled and the person nontheless joins via Web, no camera or microphone prompts appear and the person is stuck for one minute at the "Select allow when your browser asks for permissions", but the browser never asks. After one minute the GUM times out and one is on the prejoin screen, but unable to activate microphone or camera, also there no permission prompts appear.

On Firefox 125 it works as expected, permission prompts appear.

Steps to reproduce:

  1. Join a conference with desktop deeplinking enabled, eg https://alpha.jitsi.net/WoodenInfosAnnoyWildly?lang=en#config.deeplinking.desktop.enabled=true
  2. Reject the app launch (if the app is installed)
  3. Click on "Launch in web"
  4. Observe being stuck at "Select allow when your browser asks for permissions"
  5. Wait 60 seconds
  6. Get to prejoin screen, camera and microphone not working, not being able to enable them

Expected behavior:

Permission prompts should appear from Chrome at step 4

Actual behavior:

Validated that permissions for alpha.jitsi.net are set to prompting:

Bildschirmfoto 2024-05-12 um 22 18 51

No permission prompts at step 4.

Bildschirmfoto 2024-05-12 um 22 13 49

No permission prompts at step 6.

Bildschirmfoto 2024-05-12 um 22 17 18

Server information:

  • Jitsi Meet version: alpha.jitsi.net, 2024-05-12

Client information:

  • Browser / app version: Chrome 124
  • Operating System: macOS

Additional information:

Browser logs from Chrome, the error at the end is after step 5, so after the 60 seconds timeout: https://gist.github.com/csett86/f3ac30a06c2d584165e079d41db160a4

Works in Chrome 124 without deeplinking, eg with https://alpha.jitsi.net/WoodenInfosAnnoyWildly?lang=en#config.deeplinking.desktop.enabled=false

Browser logs without deeplinking, for comparison: https://gist.github.com/csett86/0ffc57f126e0c833faab65fa99cbc181

Works fine with and without deeplinking in Firefox 125, macOS

@csett86 csett86 changed the title Chrome: Camera/Microphone permission prompts not appearing when desktop deeplinking is enabled Chrome: Permission prompts missing in web if desktop deeplinking is enabled, but not used May 12, 2024
@saghul
Copy link
Member

saghul commented May 13, 2024

Does this happen on meet.jit.si or just on alpha?

@csett86
Copy link
Member Author

csett86 commented May 13, 2024

It happens as well on current stable, if desktop deeplinking is enabled on the specific config.js

On meet.jit.si I cannot trigger it yet, as desktop deeplinking is not configured and the config override whitelisting for that is not yet deployed.

@saghul
Copy link
Member

saghul commented May 13, 2024

Hum, I am unable to reproduce on Chrome Beta: Version 125.0.6422.41 (Official Build) beta (arm64)

@csett86
Copy link
Member Author

csett86 commented May 13, 2024

I can also reproduce it with Chrome Beta: Version 125.0.6422.41 (Offizieller Build) beta (x86_64)

Error log looks very similar: https://gist.github.com/csett86/98960cc376f7149bd43b630ac6f554cb

Note: Its not reproducible if you already have permanently granted alpha.jitsi.net camera and microphone permissions, as then no permission prompt is required. To be sure, reset the permissions for alpha.jitsi.net or try in Incognito Mode in Chrome.

@saghul
Copy link
Member

saghul commented May 13, 2024

Ah, I missed the last part. I'll test again.

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

No branches or pull requests

2 participants