glitches running audio from jack -> PulseAudio_JackSource -> loopback -> module-native-protocol-tcp on remote server
Summary
glitches start to occur after a short period of time when running audio from jack -> PulseAudio_JackSource -> loopback -> module-native-protocol-tcp on remote server
environment
Ubuntu 20.04 pulseaudio 13.99.1 linux 5.8.0-38-generic #43~20.04.1-Ubuntu SMP Tue Jan 12 16:39:47 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Network setup:
- PA server using the same Ubuntu version
- connected through 100Mbit Ethernet
Steps to reproduce
(How one can reproduce the issue - this is very important)
First: Streaming audio to the server works perfectly well sending audio from an application (e.g. Audacious, Chrome,...) to the remote server.
However, I would like to use the PA server as a monitor for my recording with Ardour, so I need to get the sound out of Jack using the PulseAudio_JackSource together with the loopback module to make it available as an audio stream for playing. This works fine when I output on a local alsa sound card.
The glitches occur once I connect the PulseAudio_JackSource to the remote server sound card
Usually I run jackd with 48kHz but I have also tried with 44.1kHz in order to prevent pulseaudio from resampling. The result is better in the sense that glitches start a bit later after playing but even on equal sample rate I get glitches sooner or later.
I tried to force a high latency loading the loopback module (would be ok for my purpose) but in syslog I see that setting higher latancy seems not to influance the module loading (it still seems to use a lower latency after some testing)
What is the current bug behavior?
glitches when combining PA jack source with loopback and tcp streaming to remote PA server
What is the expected correct behavior?
no glitches when combining PA jack source with loopback and tcp streaming to remote PA server
I would be glad making more investigations but would need some guidance on how to get appropriate status/debug messages out of the system.
Thanks in advance! Enrico