jitsi/jitsi-meet

Cannot share whole screen with audio enabled : Could not start audio source

Opened this issue · 0 comments

What happened?

Hi, when trying to share the whole screen including audio on Chrome 131.0.6778.205 the screen share fails with the following error :
Could not start audio source.
I added some more logs in the logs output section.

Sharing a tab with audio works flawlessly and all the other features too, only this one is currently crashing. Is there anything I should have configured for it to work ? Thanks a lot for your help.

Platform

  • Chrome (or Chromium based)
  • Firefox
  • Safari
  • Other desktop browser
  • Android browser
  • iOS browser
  • Electron app
  • Android mobile app
  • iOS mobile app
  • Custom app using a mobile SDK

Browser / app / sdk version

131.0.6778.205

Relevant log output

[modules/RTC/ScreenObtainer.js] getDisplayMedia error {"video":{"height":99999,"width":99999},"audio":true,"preferCurrentTab":false,"systemAudio":"include","surfaceSwitching":"include","selfBrowserSurface":"exclude","cursor":"always"} {"errorName":"NotReadableError","errorMsg":"Could not start audio source"}


functions.web.ts:73 2024-12-22T13:02:08.647Z [features/base/tracks] Failed to create local tracks 
['desktop']
{
    "name": "gum.screensharing_user_canceled",
    "message": "User canceled screen sharing prompt",
    "stack": "Error\n    at new Es (https://jitsimeet.j-bach.ch/libs/lib-jitsi-meet.min.js?v=8302:2:623824)\n    at https://jitsimeet.j-bach.ch/libs/lib-jitsi-meet.min.js?v=8302:2:727226"
}


actions.web.ts:397 2024-12-22T13:02:08.647Z [features/base/tracks] failed to share local desktop 
{
    "name": "gum.screensharing_user_canceled",
    "message": "User canceled screen sharing prompt",
    "stack": "Error\n    at new Es (https://jitsimeet.j-bach.ch/libs/lib-jitsi-meet.min.js?v=8302:2:623824)\n    at https://jitsimeet.j-bach.ch/libs/lib-jitsi-meet.min.js?v=8302:2:727226"
}



index.web.js:25 2024-12-22T13:02:08.648Z [index.web] UnhandledPromiseRejection: gum.screensharing_user_canceled: User canceled screen sharing prompt StackTrace:  Error
at new Es (https://jitsimeet.j-bach.ch/libs/lib-jitsi-meet.min.js?v=8302:2:623824)
    at https://jitsimeet.j-bach.ch/libs/lib-jitsi-meet.min.js?v=8302:2:727226

actions.web.ts:199 Uncaught (in promise) 
{
    "name": "gum.screensharing_user_canceled",
    "message": "User canceled screen sharing prompt",
    "stack": "Error\n    at new Es (https://jitsimeet.j-bach.ch/libs/lib-jitsi-meet.min.js?v=8302:2:623824)\n    at https://jitsimeet.j-bach.ch/libs/lib-jitsi-meet.min.js?v=8302:2:727226"
}

Reproducibility

  • The problem is reproducible on meet.jit.si

More details?

I also tested on meet.jit.si and the same behavior applies.