Forum / NoMachine for Linux / Most server-side apps don’t see microphone
Tagged: pulseaudio audio microphone
- This topic has 3 replies, 2 voices, and was last updated 7 years ago by
Britgirl.
-
AuthorPosts
-
September 19, 2018 at 09:07 #19658
electrosaurParticipantServer: 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.
October 4, 2018 at 08:38 #19815
BritgirlKeymasterHi, we have opened a Trouble Report which you can find here: https://www.nomachine.com/TR10P08892.
Please use the ‘notify me’ tool to know when a patch has been released.
October 8, 2018 at 11:11 #19835
electrosaurParticipantThe TR doesn’t quite capture my problem(s). Please see my other post re. recreating NoMachine sources and sinks as well – its not just that things get suspended, its that they disappear altogether. Its simple enough to avoid the suspend-on-idle: one can simply unload the module immediately after remoting in via
pactl module-unload module-suspend-on-idle.Also the recipe I describe, of creating an “alias” for the microphone via module-remap-source doesn’t seem to work all the time. I’m unable to figure out what make it work or not work.
November 9, 2018 at 14:42 #20407
BritgirlKeymasterAfter looking at the additional information you sent us via email, it appears to be a problem with the order of recording devices in CentOS which is set in Audio Setup > Audio Recording. As a workaround you could try changing this order so that NoMachine Microphone is in first position. After this, the microphone feature should work.
-
AuthorPosts
This topic was marked as solved, you can't post.
