edisionnano / Screenshare-with-audio-on-Discord-with-Linux

A repo trying to gather all info regarding proper screensharing on Discord with Desktop Audio for linux users
676 stars 12 forks source link

Video tutorial? #5

Open JonasBBX opened 2 years ago

JonasBBX commented 2 years ago

Sorry im fairly new to linux is it possible you can make video tutorial?

edisionnano commented 2 years ago

Like upload it on youtube or add gifs on the tutorial?

SaladinAyyub commented 2 years ago

@edisionnano a small vid tutorial will be good to show specially after we are done with the script.. For me personally I am not able to find any different with or without the script.. in helvum with pipewire everything is the same and there is no difference and in browser discord it doesn't ask me to share screen sound or anything. Its identical. I am pretty sure there is something more I have to do.

edisionnano commented 2 years ago

I'll do a video tutorial when soundux finishes their backend rework. I spoke with the devs of said project and they'll add the option to passthrough an app without mixing the mic as it happens now, they'll also add an option to not stream back discord's audio when sharing the audio of your full system so that your friends don't hear themselves back. Soundux is a very easy way so I'll wait for this to happen since I don't wanna do a tutorial on patchbays. Meanwhile you can add me on discord as Samantas5855#2607 for any questions you may have

Curve commented 2 years ago

I'll do a video tutorial when soundux finishes their backend rework. I spoke with the devs of said project and they'll add the option to passthrough an app without mixing the mic as it happens now, they'll also add an option to not stream back discord's audio when sharing the audio of your full system so that your friends don't hear themselves back. Soundux is a very easy way so I'll wait for this to happen since I don't wanna do a tutorial on patchbays. Meanwhile you can add me on discord as Samantas5855#2607 for any questions you may have

Just an fyi, the pipewire backend already outputs the sound without mixing the mic.

The pulseaudio backend however does not, and will probably also not be supported for that much longer as I'm planning to transition to pipewire completely in the future

edisionnano commented 2 years ago

Ok so we have two problems with soundux at the moment then: 1.what we want to do doesnt work on plain pulseaudio that most distros ship with (pipewire should work) 2.soundux mixes processes, so when chromium captures two inputs its only shown once

While we can live with number 1, number 2 is crucial and has to be resolved

Curve commented 2 years ago

Ok so we have two problems with soundux at the moment then: 1.what we want to do doesnt work on plain pulseaudio that most distros ship with (pipewire should work) 2.soundux mixes processes, so when chromium captures two inputs its only shown once

While we can live with number 1, number 2 is crucial and has to be resolved

  1. Pulseaudio support will be dropped soon
  2. We can fix that ^^
edisionnano commented 2 years ago

Ok so we have two problems with soundux at the moment then: 1.what we want to do doesnt work on plain pulseaudio that most distros ship with (pipewire should work) 2.soundux mixes processes, so when chromium captures two inputs its only shown once While we can live with number 1, number 2 is crucial and has to be resolved

1. Pulseaudio support will be dropped soon

2. We can fix that ^^

1.Good, I hope more distros will move to pipewire soon 2.Big thanks for that, one small request. I need a way to know which subprocces started recording first. When you join a call chromium starts recording, the first chromium process that begins to record is the microphone, when you start screensharing another chromium subprocess starts recording, this second one is the screenshare. I need a way to know which is which. Pavucontrol orders them randomly. Ofc its a given that the user will start screensharing AFTER launching soundux

Curve commented 2 years ago

Ok so we have two problems with soundux at the moment then: 1.what we want to do doesnt work on plain pulseaudio that most distros ship with (pipewire should work) 2.soundux mixes processes, so when chromium captures two inputs its only shown once While we can live with number 1, number 2 is crucial and has to be resolved

1. Pulseaudio support will be dropped soon

2. We can fix that ^^

1.Good, I hope more distros will move to pipewire soon 2.Big thanks for that, one small request. I need a way to know which subprocces started recording first. When you join a call chromium starts recording, the first chromium process that begins to record is the microphone, when you start screensharing another chromium subprocess starts recording, this second one is the screenshare. I need a way to know which is which. Pavucontrol orders them randomly. Ofc its a given that the user will start screensharing AFTER launching soundux

Not sure if that's possible but I'll have a look when I get to it

abraar-raza commented 1 year ago

Hi, hope you're doing well. Any update on the video tutorial? I'm having trouble understanding how to get this to work for PulseAudio, more specifically Case A step 4 & 5. Any help would be appreciated, thanks!

ItsRogueRen commented 1 year ago

Would also like this as I'm currently baffled at the last step of picking the application to share. Is this meaning that I have to run this virtmic EVERY TIME I wanna share a specific app's audio, or does it want me to select what I'm sharing TO?

Also how can I tell my browser apart from the web app? I have a PWA I'm using but in pipewire the PWA is just called chromium or firefox (depending on what browser it came from).