Linux - Screen Share Sound Support

Comments

488 comments

  • nuunuu

    My understanding of how the mac and windows audio streaming works in discord is that it's similar to soundux, but it does all that stuff in the background and most importantly it passes that audio into the actual video channel so users can adjust the volume from there independent of the streamer's voice. Maybe discord could use some of that code from soundux? Alternatively, I detailed how this can be done with pulse audio modules in this reddit post - https://old.reddit.com/r/discordapp/comments/lqwp91/guide_how_to_stream_video_with_audio_on_discord/

    If discord can just adapt that code to build a loopback for all incoming linux audio and patch in the application sound when the video starts, it should work flawlessly. Please!! I've been checking to see if discord has any plans for this feature on a near weekly basis for months, and i'm so desperate for it that I learned how to use pulseaudio just to make it happen lol.  

    EDIT: to make it super simple, discord could even just create a null sink hooked up to the stream and instruct linux users to change their application's audio to use that sink - that way discord wouldn't have to programatically determine what audio output belonged to the application being streamed - it would literally just tell the user to do it themselves. Like sure it would be nice if it did it automatically, but I'm so desperate for this that i'm toying with the idea of installing discord and my games on a virtual machine and buying a second graphics card to do GPU passthrough. I would take a bit of jank ANY DAY over complete lack of the feature.

    2
  • YamiYukiSenpai

    I've seen guides using PulseAudio, but seems to be a little confusing and tedious.  Is it easier on Pipewire?

    1
  • varik

    +1

    0
  • SinovacSurvivor

    +1

    0
  • thatdumbmonkey3

    +1

    -2
  • nico.

    Just upvote this post please. Spamming +1 is counter-productive and makes reading this thread more complex.

    32
  • thatdumbmonkey3

    there's nothing useful to be said, its not going to happen so its all spam

    -38
  • caracal

    The most unfortunate thing is that there are no alternatives whatsoever! If anyone has one please let me know. I really don't want to install windows even as a dual boot.

    12
  • RogerWilco

    +1

    It's 2021 and I found out on this thread that it's even supported on macOS.

    So please, Discord developers & others involved in this >>> please allow your user base to grow.

    21
  • nico.

    caracal There is a workaround with Soundux I already mentioned above

    11
  • Overlord

    I really hope they support it soon

    10
  • ArchyT

    +1

    5
  • Dalton

    +1

    2
  • phpTANKER

    It's 2021 linux gaming is a thing, get with the times Discord.

    11
  • Novak

    up

    1
  • AriosJentu

    +1

    3
  • Toad King

    With the latest announcement of the Steam Deck that is running Linux, is there any plan to solve this issue to support audio streaming on it?

    1
  • Tau

    This is very important, I've had to redirect game audio to the micrphone input. It would be very beneficial to me having this feature

    1
  • Deathmist

    +1, I can't use any workaround in servers because the mic and game audio would be mixed together and it ends up annoying anyone who doesn't want to watch the stream.

    1
  • Bleuzen

    Would love to see this implemented. Current workaround is to route the apps/games audio into Discord via pulseaudio/pipewire so that it sees it as microphone input. But this is not really convenient and, worst thing in my opinion, is only in mono and with voice processing on, which makes it much unusable when streaming some games or music. Hope to see desktop or app audio sharing in stereo soon!

    1
  • Nullrequest

    The version of electron discord uses, electron 13 actually has support for this. Discord patches it out in their custom build. If discord were to move towards a more stock capture setup they would be able to support capture via pipewire which also would mean they can support audio capture of applications on linux

    2
  • しゅりけん

    +1

    2
  • thinhakapete

    Please Discord please!!

    5
  • ElChupaCabras3000

    Dale pongan para compartir audio locoooooooooooooo

    1
  • iStepable

    +1 Would like it as well.

    7
  • YamiYukiSenpai

    Now that Steam Deck (and SteamOS 3.0) will soon be a thing, really wish Discord will use this motivation to add that feature in (along with Discord overlay)

    14
  • Mannywy

    Someone had told me that they had that feature the audio part working for them. Not sure if they were using a canary versión. It was on arch linux. But yea I can't do that. Been trying to share a video with someone and they can't hear sound. Really hoping they fix that soon.

    Spoke with electron and told me that discord had to enable that feature. That electron already supports audio.

    0
  • Neko-san

    @YamiYukiSenpai

    Also, not even mentioning that SteamOS 3.0 is an Arch distro, and not an Ubuntu/Debian one, so this would also require them to support Arch as well (which I personally have had horrific customer service here with)

    5
  • YamiYukiSenpai

    @Neko-san what sort of issues is Discord experiencing with Arch?

    4

Please sign in to leave a comment.