[LAU] How to combine microphone audio and music from application to pipe to video conference

Len Ovens len at ovenwerks.net
Sat May 16 17:00:37 CEST 2020


On Fri, 15 May 2020, david wrote:

> On 5/15/20 7:25 PM, Len Ovens wrote:
>> On Fri, 15 May 2020, Samir Parikh wrote:
>>
>>> I am trying to combine the audio from my microphone (either built in
>>> microphone from my laptop or bluetooth headset) with music playing
>>> from Rhythmbox Music Player running on Ubuntu 16.04 and pipe that as
>>> the audio input to video conference services such as Jitsi.
>>>
>>> I don't know much about Linux audio internals and wasn't sure how to
>>> do this.  Can I do this completely via the operating system using
>>> Pulse Audio?  Do I need to do something with Jack?  Or do I need
>>> specialized software such as OBS, Ardour or Reaper?
>>
>> OBS is probably the easiest way. You can add your local video if 
>> needed as well. OBS will work fine with just pulse or jack. I don't 
>> know much about jitsi it self but if it uses pulse as the default 
>> device there should be no problem.
>
> I just checked the Jitsi Meet using Chromium (they recommend 
> Chrome/Chromium, apparently Jitsi uses some newer streaming standards 
> that Firefox either doesn't fully support or is just simply too slow). 
> For microphone, it offers my USB headset, USB audio, Builtin and 
> Pulseaudo JACK source. Which I remember I do have Pulseaudio set up here 
> feeding to JACK sink. Output include the preceding plus PA Jack sink.

You are probably using the module-jackdbus-detect in pulse. that by loads 
the two modules jack source and jack sink. However you can add as many of 
those as you want. Also, it seems pulse can see other devices but using 
zita-ajbridge they can become jack devices and mixed there. Then all 
become part of jack source.



--
Len Ovens
www.ovenwerks.net


More information about the Linux-audio-user mailing list