Server: NoMachine 6.2.4 free version on headless CentOS 7 VM (VMware)
Client: NoMachine macOS6.2.4
When I enable the microphone, it shows up on server as pulseaudio source. I can record audio via Audacity. However, most applications – browsers, Slack, WebEx, etc. don’t see the microphone. http://test.webrtc.org says “Failed to access your computer’s camera and microphone (NotFoundError: Requested device not found).”.
Finally discovered a way around this: remap the NoMachine pulseaudio source.
pactl load-module module-remap-source master=nx_voice_out.monitor source=Microphone
I don’t know why this works: I’m not remapping any source properties, just creating an “alias”.
However, sometimes pulseaudio suspends the remapped source with reason IDLE and then I can’t unsuspend it. To avoid that I’m unloading the suspend-on-idle module:
pactl unload-module module-suspend-on-idle
Looking for a fix that does not involve these magic incantations.