datarhei-dragonfork-core/app
Zac Gaetano 8d60cbd333 test(app/webrtc): 5-viewer fanout integration + teardown-hook unit test
TestIntegration_FiveViewerFanout drives the M3 acceptance criterion
in the wide direction: spin up the subsystem, register one process,
attach 5 Pion subscribers in parallel via the real Echo handler,
spray synthetic RTP at the allocated UDP ports, and assert each
subscriber's video + audio track receive at least one packet inside
a 15s window. After onProcessStop, the per-stream peer index must
drain to zero within 3s.

TestSubsystem_TeardownHookFiresOnProcessStop is the unit-level
counterpart — confirms the callback registered via
SetTeardownHook actually fires when a process is torn down, even
without a full Pion handshake.

Together these cover the acceptance language: '5 concurrent viewers,
all error paths correct, clean teardown'.

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 test(app/webrtc): 5-viewer fanout integration + teardown-hook unit test 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