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

mattermost-desktop: Audio and video calls not working #391288

Open
3 tasks done
bellackn opened this issue Mar 19, 2025 · 0 comments
Open
3 tasks done

mattermost-desktop: Audio and video calls not working #391288

bellackn opened this issue Mar 19, 2025 · 0 comments
Labels
0.kind: bug Something is broken

Comments

@bellackn
Copy link

Nixpkgs version

  • Unstable (25.05)

Describe the bug

When I start a call in the app (by clicking 'Start call' in the upper-right corner of a direct chat), the app logs the following:

[642511:0319/143348.825067:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 1 times!
[642511:0319/143359.888463:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 2 times!
[642511:0319/143404.822824:ERROR:gl_surface_presentation_helper.cc(260)] GetVSyncParametersIfAvailable() failed for 3 times!

Then a 'Connection failed' window pops up.

When I click the small camera icon in the right sidebar and then the 'JOIN MEETING' button in the chat, the app logs:

14:36:51.545 › [WebContentsEventM...] [renderer] 2025-03-19T13:36:51.545Z [modules/RTC/RTCUtils.js] Failed to get access to local media. NotAllowedError: Permission denied {"video":{"height":{"ideal":720},"width":{"ideal":1280},"frameRate":{"min":15,"max":30}},"audio":{"autoGainControl":true,"echoCancellation":true,"noiseSuppression":true}}
14:36:51.547 › [WebContentsEventM...] [renderer] 2025-03-19T13:36:51.547Z [features/base/tracks] Failed to create local tracks audio,video [object Object]
14:36:51.562 › [WebContentsEventM...] [renderer] 2025-03-19T13:36:51.562Z [modules/RTC/RTCUtils.js] Failed to get access to local media. NotAllowedError: Permission denied {"video":false,"audio":{"autoGainControl":true,"echoCancellation":true,"noiseSuppression":true}}
14:36:51.562 › [WebContentsEventM...] [renderer] 2025-03-19T13:36:51.562Z [features/base/tracks] Failed to create local tracks audio [object Object]
14:36:51.566 › [WebContentsEventM...] [renderer] 2025-03-19T13:36:51.566Z [modules/RTC/RTCUtils.js] Failed to get access to local media. NotAllowedError: Permission denied {"video":{"height":{"ideal":720},"width":{"ideal":1280},"frameRate":{"min":15,"max":30}},"audio":false}
14:36:51.567 › [WebContentsEventM...] [renderer] 2025-03-19T13:36:51.566Z [features/base/tracks] Failed to create local tracks video [object Object]
14:36:51.567 › [WebContentsEventM...] [renderer] 2025-03-19T13:36:51.566Z [features/base/tracks] Audio track creation failed with error gum.permission_denied: User denied permission to use device(s): audio
14:36:51.567 › [WebContentsEventM...] [renderer] 2025-03-19T13:36:51.567Z [features/base/tracks] Video track creation failed with error gum.permission_denied: User denied permission to use device(s): video

I don't know where I could give these permissions other than in the server settings. I have given all permissions there. However, when I click 'Save', the app logs:

4:39:13.261 › [App] [ServerViewState] there was an error in the edit server modal: TypeError: r.systemPreferences.getMediaAccessStatus is not a function
14:39:13.276 › [App.Config] config.autostart has been configured: true

Please let me know if I can be of any help! And thanks for maintaining the package.

Steps to reproduce

  1. Open mattermost-desktop
  2. I assume that there's a server where you're logged in to.
  3. Click any user in the the 'DIRECT MESSAGES' section.
  4. Click 'Start call' in the top-right corner to observe the first described error.
  5. Click the small camera icon in the right sidebar and then 'JOIN MEETING' in the chat to observe the second described problem.

Expected behaviour

I can join calls and Jitsi meetings from within the mattermost-desktop app.

Screenshots

No response

Relevant log output

Additional context

No response

System metadata

 - system: `"x86_64-linux"`
 - host os: `Linux 6.12.16, NixOS, 25.05 (Warbler), 25.05.20250309.e3e32b6`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.12`
 - channels(root): `"nixos-24.05"`
 - nixpkgs: `/nix/store/g4ppspdl4fy7hnp4jgjl4ll03v7i08w3-source`

Notify maintainers

@jokogr


Note for maintainers: Please tag this issue in your pull request description. (i.e. Resolves #ISSUE.)

I assert that this issue is relevant for Nixpkgs

Is this issue important to you?

Add a 👍 reaction to issues you find important.

@bellackn bellackn added the 0.kind: bug Something is broken label Mar 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0.kind: bug Something is broken
Projects
None yet
Development

No branches or pull requests

1 participant