LiveAudioServer 0.1.6
New features
--exit-with-parent watchdog
A new opt-in CLI flag that makes the server exit automatically when its parent process terminates — including on crash or SIGKILL, where the parent can't run its own cleanup. Useful when LiveAudioServer is launched as a helper process by a host app that wants to guarantee the server is reaped rather than left orphaned holding its HTTP port. Library behavior is unchanged when the flag is absent.
.build/release/LiveAudioServer --udp-input-port 7355 --exit-with-parent
Status page: version and uptime
The status page now shows two additional rows in the main info card:
• Version — the version string and git SHA of the running build
• Started — the server's start timestamp and a live uptime counter (e.g. 2026-07-16 09:14:00 · up 3h 22m 10s), recomputed on each page load
Bug fixes and improvements
** Recorder: ~ paths now work from the browser UI **
The "Set Path" button in the recorder card generates a path starting with ~/Downloads/…. Previously, passing such a path to start would fail because FileRecorder did not expand the tilde. The recorder now expands a leading ~ to the home directory before creating the file.
** Recorder: path and byte count preserved after stop **
After calling stop, the recorder's path and bytesWritten fields now remain set so the status UI can display where the file was saved. They reset to nil/0 on the next start call.
** Status page: removed autoplay **
The embedded MP3 audio player no longer autoplays when the status page loads.
** Embedding the CLI in a macOS app (new docs + rpath fix) **
A new README section documents how to embed the LiveAudioServer binary inside another app's bundle as a helper (Contents/Helpers/LiveAudioServer), including a known limitation where Xcode strips the @executable_path/../Frameworks rpath during its embed/sign pipeline and the Run Script workaround to restore it. The executable target's Package.swift now also declares this rpath via linkerSettings, which covers swift build builds directly.
Documentation
• Added a section on smooth PCM input pacing ("time-based buffer size") to help upstream producers avoid choppy audio at low sample rates.
• Added a troubleshooting note for the swift package clean fix needed when a module-cache-path error occurs after moving or copying the project directory.
⸻