datarhei-dragonfork-core/app
Zac Gaetano b030102611 test(webrtc): add M2 integration smoke test
End-to-end exercise of the M2 pipeline — subsystem hook, port
allocation, two-track forwarding, WHEP handshake — without
spinning up a full Core HTTP server:

- Fire onProcessStart directly to get the two RTP legs back
- Parse video + audio UDP ports out of the leg addresses,
  assert adjacency
- Mount the Handler on an Echo httptest server
- Build a Pion PeerConnection (recvonly video + audio), POST
  its offer, feed the answer back in
- Spray synthetic RTP packets at both loopback sockets
- Assert both OnTrack callbacks fire and each delivers at least
  one RTP packet within 10s
- DELETE via the returned Location header to confirm teardown

Passes cleanly under -race in ~1s. Catches regressions across
the whole M2 wiring from a single fixture.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-17 10:11:34 -04: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(webrtc): add M2 integration smoke test 2026-04-17 10:11:34 -04:00
version.go Update changelog, bump version to 16.16.0 2024-06-07 11:37:25 +02:00