[pulseaudio-discuss] How to create a virtual microphone with source set as default monitor device?
Sean Greenslade
sean at seangreenslade.com
Mon Sep 7 06:52:43 UTC 2020
On Sat, Sep 05, 2020 at 09:10:36AM -0700, guest271314 wrote:
> Chromium browser does not support capture of monitor devices when
> navigator.mediaDevices.getUserMedia() is called. Chromium only
> supports capture of non-monitor microphone input devices.
>
> How to create a virtual microphone with source set as default monitor
> device so that Chromium browser recognizes the virtual device as a
> microphone while the source input for the microphone is the default
> monitor?
There are a couple of options. One is to simply redirect the sink input
once it is opened (e.g. with pavucontrol).
If you really need a non-monitor source device to be present, I think
your best option would be module-remap-source. It shouldn't be too hard
to come up with a "remap" that's just a passthrough:
https://www.freedesktop.org/wiki/Software/PulseAudio/Documentation/User/Modules/#module-remap-source
--Sean
More information about the pulseaudio-discuss
mailing list