datarhei-dragonfork-core/app
Zac Gaetano 3abd4d8fd1 feat(app/webrtc): broadcast process-stop via SetTeardownHook
Subsystem.SetTeardownHook installs a callback the subsystem invokes
just before closing per-stream Sources in onProcessStop. Used by the
WHEP Handler in M3 to drain its per-stream peer index before the
underlying Sources go away — closes the 'subscribers fan out into a
closed channel' race the design's §6 error matrix calls out as
'Publisher disconnects / FFmpeg exits'.

Single consumer by design (one subsystem, one handler). Calling
SetTeardownHook again replaces the previous callback; nil detaches.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-03 11:23:55 +00:00
..
api feat(webrtc): wire app/webrtc subsystem into Core lifecycle 2026-04-17 10:08:54 -04:00
ffmigrate Provide filesystem for JSON store 2024-02-12 09:56:40 +01:00
import Fix tests 2023-02-21 12:57:33 +01:00
webrtc feat(app/webrtc): broadcast process-stop via SetTeardownHook 2026-05-03 11:23:55 +00:00
version.go Update changelog, bump version to 16.16.0 2024-06-07 11:37:25 +02:00