-
List output and input ports, look for the application's name
pw-link -o pw-link -i -
Start Share Screen on Google Chrome to create the input device, THEN link mpv output to Google Chrome input
pw-link -L mpv:output_FL "Google Chrome input:input_FL" pw-link -L mpv:output_FR "Google Chrome input:input_FR" -
Repeat the above steps on each Start Share Screen, since the input device is removed by Stop Share Screen
-
Create a virtual microphone
pw-cli create-node adapter '{ factory.name=support.null-audio-sink node.name="VirtualMic" node.description="Virtual Microphone" media.class=Audio/Source/Virtual audio.position=[FL FR] object.linger=true }' -
List output ports, look for the headset's monitor
pw-link -o monitor -
Connect the monitor of the USB headset to the VirtualMic (What you hear will be injected to the virtual microphone)
pw-link alsa_output.usb-Manufacturer_Model_0123456789ABCDEF0123456789ABCDEF-00.analog-stereo:monitor_FL VirtualMic:input_FL pw-link alsa_output.usb-Manufacturer_Model_0123456789ABCDEF0123456789ABCDEF-00.analog-stereo:monitor_FR VirtualMic:input_FR -
Choose the VirtualMic as your microphone in the application