I create a small project based on
@Broadways8701 proposal. I hope it works for you.
https://github.com/mauroalderete/virtualmic-pulseaudio
I have been using this solution these days for my work meetings using obs to generate the virtual camera together with the audio monitor and it works great.
I will try out your script, or maybe just steal a couple of lines! Either way, I thank you for your input!
I am the "St. Paul's Ajax Volunteer" who wrote the earlier posts.
Another chapter of my sordid story. A week or so after my last post, where I mysteriously got my sound worknig by making slight changes to my configuration, it stopped working again!
This time I dug deeper and found I had plugin issues with NDI - which is critical to us. To get that working, I had to switch to the latest OBS (29.1.1) but roll back the NDI plugin until OBS stopped crashing on startup (version 4.5.1). I also upgraded the OS to Ubuntu 22.04.2 LTS. That upgrade seemed to cause a problem forcing me to roll back NDI versions.
I am still using my Pulse config above. That is letting me get my OBS audio output into ZOOM. Although I have noticed two things since I updated the OS:
1. Zoom can now directly use the QU-24 USB outupt as a MIC input. It seems the QU USB driver has a new audio boost in it. In Zoom you still have to enable auto volume so Zoom can boost it more. The result is still "soft" though. When I first started this, we needed a 26 DBI boost in OBS. Now we only need 15 DBI. Maybe even 10 would work.
2. Something is causing the occaisional "logoff" of the active user! At first I thought the whole OS was crashing, now I can see its "crashing" the X-Window server, which closes all active apps, and logs out.
By some experiments I found out one fast way to cause the crash is to increase the quality level of the recording in OBS. If I change it to record the full resolution my camera puts out even at 30 FPS, the CPU % heads to 99% as soon as I hit RECORD. And then it crashes - presumably when it hits 100% on one or more cores.
I turned it down to HD recording 1280x720 30 FPS, 500 Kbits variable data rate. This seems to be more stable, but I just got a crash today while recording. So something else might be going on.
What I need some help with - unless this is what "
virtualmic-pulseaudio" is for - is to get the local computer headphones fully working. The goal is to be able to HEAR what participants in Zoom are saying, and be able to talk to them.
I got the last part working, just had to activate the local headphones MIC in OBS, and now it can be used to talk to the zoom crowd. But when I tried to get the sound from zoom playing in the local headphones, every combination of settings, would result in CUTTING OFF my OBS sound out to zoom!
This might be eaiser if there was a way to control exactly WHAT audo device OBS sends its sound too. I get the impression its trying to use whatever the OS is set to. But does not always track that setting right.
Or maybe the "only" way to is create another virtual device for the return audio? Somethig zoom can play into, and I can use the OS to monitor in headphones?