PipeWire: Difference between revisions

RobH (talk | contribs)
Headless operation: Add advice on avoiding startup race condition in headless applications.
RobH (talk | contribs)
m Headless operation: Fix markup
Line 217: Line 217:
</syntaxhighlight>
</syntaxhighlight>


Despite early activation, you may still experience a race condition that prevents audio from working if you play media immediately after a new login such as running an SSH command. If this occurs, try introducing a short delay (e.g. `sleep 5`) before invoking the media player application.
Despite early activation, you may still experience a race condition that prevents audio from working if you play media immediately after a new login such as running an SSH command. If this occurs, try introducing a short delay (e.g. <code>sleep 5</code>) before invoking the media player application.


==Troubleshooting==
==Troubleshooting==