element-call icon indicating copy to clipboard operation
element-call copied to clipboard

When audio sharing is enabled, screen sharing breaks.

Open Starthium opened this issue 9 months ago • 8 comments

Steps to reproduce

  1. Where are you starting? What can you see? When I am going through the prompt to begin sharing my screen, I go to the "Entire Screen" section and enable the "Also share system audio" setting. Once I click on the screen I want to share, I press the "Share" button.

  2. What do you click? Explained above.

  3. More steps… N/A

Outcome

What did you expect?

I expceted to share my screen, but alongside that, the viewers of my screensharing will also be able to hear the audio. (Except for me, of course.)

What happened instead?

The screen sharing immediately stopped after being started.

Additional notes: This is in a private space, and this is in a video call, if it helps narrow this problem down.

Operating system

Windows

Browser information

Chrome 134.0.6998.89

URL for webapp

https://app.element.io/#/room/!FeKzabBGKTmCpVQIwj:matrix.org

Application version

1.11.95

Homeserver

matrix.org

Will you send logs?

Yes

Starthium avatar Mar 23 '25 02:03 Starthium

Will you send logs? Yes

Not seeing any logs from you

t3chguy avatar Mar 27 '25 10:03 t3chguy

Alright, I have sent the logs. Hopefully they went through because I don't know where to check for them. I haven't used GitHub much before, so apologies.

Starthium avatar Mar 27 '25 22:03 Starthium

This looks like an Element Call issue

t3chguy avatar Mar 28 '25 10:03 t3chguy

Hey, has anyone checked on this? I thought I sent logs, but if I didn't, then please let me know how to do that.

Starthium avatar Apr 24 '25 00:04 Starthium

When I am going through the prompt to begin sharing my screen, I go to the "Entire Screen" section and enable the "Also share system audio"

Sharing system audio is heavily constrained via Web browsers as noted here.

On Chrome specifically: If you start a screen-share with Chrome you have three options to share content:

  • Chrome-Browser tab (This option allows on all Desktop platforms to share audio)
  • A Application window (no audio sharing possible -- also indicated by chrome)
  • Entire screen
    • On Windows and ChromeOS, the entire system audio can be captured when sharing an entire screen. On Linux and macOS, only the audio of a tab can be captured.

On the latter case we need to double check:

  • Does this require special permissions from Windows OS?
  • that this does NOT introduce audio feedback.

fkwp avatar Apr 24 '25 11:04 fkwp

I'm using Windows for this, so if there is a way to allow Chrome to share system audio alongside sharing the entire screen, please tell me how to do that. When making this report, I thought this was a problem with Element, but after my friend was able to stream her entire screen with audio to me, now I know it's just a problem with just me in particular, which sucks. I'm still gonna keep this issue up until I figure out how to share my entire screen with system audio sharing enabled.

Starthium avatar Apr 25 '25 00:04 Starthium

Hey, it's been a month. Has anyone found a fix for this? I still don't know if it's a problem on my side or if it's a problem with Element itself. Every time Element updates, I attempt to share my screen to my friend (with audio) and it still doesn't work.

Starthium avatar May 31 '25 06:05 Starthium

I had this same issue, I was able to resolve it by disabling audio enhancements on my input/output device in windows sound settings, as well as disabling the exclusive mode settings under microphone properties in more sound settings.

user236404 avatar Aug 12 '25 20:08 user236404