<div style="font-family: Arial, sans-serif; font-size: 14px;">Hello everyone,</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">I need to connect more than 64 clients to a PulseAudio server (PulseAudio 16.1 on Debian 12), 100 to be exact.</div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span>From the 65th client, I cannot retrieve the list of devices. I've seen this warning in journalctl:</span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span><span style="font-family:Menlo, Consolas, Courier New, monospace">Warning! Too many connections (64), dropping incoming connection.</span><br></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><br></div><div style="font-family: Arial, sans-serif; font-size: 14px;">I've seen the limitation in <span style="font-family: Menlo, Consolas, Courier New, monospace;">pulsecore/protocol-esound.c</span><span> :<br></span></div><div style="font-family: Arial, sans-serif; font-size: 14px;"><span><pre><span><span><span>#define MAX_CONNECTIONS 64<br><br></span><span style="font-family: Arial, sans-serif;">Could anyone confirm the following points:<br></span></span></span></pre><pre><ol data-editing-info="{"orderedStyleType":3,"unorderedStyleType":1}" data-listchain="__List_Chain_154"><li style="font-family: Arial, sans-serif; list-style-type: "1) ";"><span><span><span style="font-family: Arial, sans-serif;"><span>To modify this limit, there is no other way than to download, modify and build the PulseAudio sources (i've searched among the configuration files without result).</span></span></span></span></li><li style="font-family: Arial, sans-serif; list-style-type: "2) ";"><span><span><span style="font-family: Arial, sans-serif;"><span>Changing this limit to 100 won't affect the PulseAudio performance too much.</span></span></span></span></li></ol><div><br></div><div><span style="font-family: Arial, sans-serif;">Feel free to ask any additional information.</span><br></div><div><span style="font-family: Arial, sans-serif; font-size: 10.5pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Thank you and have a nice day !</span></div><div><span style="font-family: Arial, sans-serif; font-size: 10.5pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);"><br></span></div><div><span style="font-family: Arial, sans-serif; font-size: 10.5pt; color: rgb(0, 0, 0); background-color: rgb(255, 255, 255);">Julien</span></div></pre></span></div><div class="protonmail_signature_block" style="font-family: Arial, sans-serif; font-size: 14px;"><div class="protonmail_signature_block-user"><table height="235" width="585"><tbody></tbody></table><br></div>
<div class="protonmail_signature_block-proton protonmail_signature_block-empty">
</div>
</div>