<div dir="ltr"><div><div><div><div><div><div>Hello,<br><br></div>I am developing an app for which I need to route sound between many different processes. Basically I need to do similar things as with JACK. Clients just play a song or capture it and save or/and send over internet (these clients are based on GStreamer). The system can have +/- 500 PulseAudio clients at one machine. Latency is not critical but should be kept below +/- 40ms. In the future we would also like to route sound between PulseAudio instances.<br><br></div>We use JACK at the moment but it is not reliable. JACK1 is not asynchronous and will cause drops on some causes, JACK2 is full of hardcoded limitations and assumptions and tends to hang above 100 clients. Logging is scarce and its overall architecture seems to be not valid for such use case and it does not allow us to use more sophisticated modules that PulseAudio provides.<br><br></div>So we would like to migrate to the most recent PulseAudio and use module-loopback and/or module-combine-sink to perform routing between apps.<br><br></div>Any suggestions on how PulseAudio should be configure to handle such load (assuming that underlying hardware has enough resources). What issues I may encounter?<br><br></div>Thank you in advance,<br><br></div>Marcin<br></div>