PipeWire: Difference between revisions

RobH (talk | contribs)
Add new section on headless operation.
RobH (talk | contribs)
Headless operation: Add advice on avoiding startup race condition in headless applications.
Line 216: Line 216:
   users.users.<name>.extraGroups = [ ... "audio" ];
   users.users.<name>.extraGroups = [ ... "audio" ];
</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.


==Troubleshooting==
==Troubleshooting==