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

Screenshare broadcasts system-wide audio, not just that of the application. #569

Open
bobismymom opened this issue May 2, 2024 · 7 comments
Labels
upstream related to a dependency, for example electron wontfix This will not be worked on

Comments

@bobismymom
Copy link

Describe the bug

When streaming any application using Vesktop, audio from other applications is being picked up and broadcasted.

Expected behavior

Vesktop streaming only the audio of the application I selected to screenshare.

Desktop (please complete the following information):

  • OS/Distro: Windows 10 LTSC 21H2

Additional Context

I tried streaming VLC, Foobar2000, a variety of games and the issue persists.

@bobismymom bobismymom added the bug Something isn't working label May 2, 2024
@Vendicated
Copy link
Member

yes this is intended

i don't think it's possible to stream just one window with electron api

@PolisanTheEasyNick
Copy link
Contributor

Indeed, using electron API we can stream either all sound from Windows system or sound from one tab:
image
For now, we are setting audio parameter just to loopback:
https://github.com/Vencord/Vesktop/blob/main/src/main/screenShare.ts#L80

@Vendicated
Copy link
Member

that api has no option to choose a custom window. WebFrameMain refers to an electron frame, aka a frame of your own app. not other apps

@Vendicated Vendicated added wontfix This will not be worked on upstream related to a dependency, for example electron labels May 2, 2024
@PolisanTheEasyNick
Copy link
Contributor

that api has no option to choose a custom window. WebFrameMain refers to an electron frame, aka a frame of your own app. not other apps

Ohh, I see now. Anyway there's no way to choose another sound source :(

@Vendicated Vendicated removed the bug Something isn't working label Jun 1, 2024
@Tiagoquix

This comment was marked as off-topic.

@Vendicated

This comment was marked as off-topic.

@KIRUYXAN
Copy link

KIRUYXAN commented Oct 24, 2024

That is, did I understand correctly that this cannot be fixed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
upstream related to a dependency, for example electron wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

5 participants