-
released this
2026-05-06 12:03:48 -07:00 | 9 commits to main since this releaseFixes "audio dies on the publisher when I click Reconnect" reported in v0.1.9.
What was wrong
`Reconnect audio` killed the helper with `TerminateProcess` on Windows. The publisher held WASAPI process-loopback handles which were never released, the TCP/UDP session never closed cleanly, and the next helper could not reacquire the device reliably.
Fix
- Helper now watches its own stdin in a background task. When NVDA closes the pipe (or writes any byte) the cancellation token fires and the session's
IAsyncDisposable.DisposeAsyncruns —IAudioCaptureClient/IAudioClientCOM objects are released, TCP/UDP sockets close cleanly. Exits with statusStopped.. - Add-on spawns the helper with
stdin=PIPE, andstop()now closes stdin first and waits up to 2 s for graceful exit.TerminateProcessis only used as a last resort if the helper is hung.
Verified locally that subscriber and publisher both shut down cleanly in well under a second, and that a stop-immediately-respawn cycle on the publisher reacquires WASAPI cleanly.
Install
Download `remoteAudioClient-0.1.10.nvda-addon` below and open it in NVDA on both machines. Settings carry over.
Downloads
-
Source code (ZIP)
0 downloads
-
Source code (TAR.GZ)
0 downloads
- Helper now watches its own stdin in a background task. When NVDA closes the pipe (or writes any byte) the cancellation token fires and the session's
mirror of
https://github.com/serrebidev/NVDARemoteAudioClient.git
synced 2026-05-31 07:37:39 -07:00