SpacingBat3 / WebCord

A Discord and SpaceBar :electron:-based client implemented without Discord API.
MIT License
1.88k stars 93 forks source link

New update breaks audio in apps #455

Closed WiFiBills closed 10 months ago

WiFiBills commented 1 year ago

Acknowledgements

Operating System / Platform

🐧️ Linux

Operating system architecture

x64 (64-bit Intel/AMD)

Electron version

25.5.0

Application version

v4.4.0

Bug description

Whilst using Webcord to watch a stream and talk to friends, audio in another app (Minecraft) becomes extremely distorted and horrible to listen to.

Ways to set up:

  1. Start up webcord and join any voice channel.
  2. Launch minecraft
  3. Interact with the game and listen

Additional context

I am on EndeavourOS (arch based) running the app on Wayland. The audio works when using the official discord client so it is most likely a webcord issue. This did not happen on the previous update. I have not tested the other versions of electron, only the version I have reported for.

SpacingBat3 commented 11 months ago

This definitely isn't the issue on WebCord's side, I would say it's the issue on your sound subsystem side. I guess you have the Bluetooth headphones and those could switch automatically to HSP/HFP on PipeWire (they do for me). Also there was no change made to v4.4.0 that could break it, other than a bump to Electron v26 – but you're still on v25 so that's not the case there.

I believe there's a way to disable this behaviour for all applications in PipeWire configuration which you might consider if you use external microphone for speaking. There might be also a way to disable this specifically for WebCord via some Chromium switches.

SpacingBat3 commented 10 months ago

Closing due to lack of activity and possibility that this is not an issue with WebCord (anymore?).