# Datarhei - Dragon Fork — Implementation Notes

This file tracks observations, gotchas, and decisions made during the Dragon
Fork WebRTC egress implementation. Keep entries chronological; each milestone
adds a new section.

## Baseline (M1, 2026-04-17)

- Forked from upstream `datarhei/core` commit `0de97f4` ("Add linux/arm/v8 build").
- Upstream module path: `github.com/datarhei/core/v16`. The Dragon Fork keeps
  this module path so internal imports don't churn; the fork is distinguished
  by its repo location (`forge.wilddragon.net/zgaetano/datarhei-dragonfork-core`)
  and branch history, not its Go module identity.
- Toolchain: Go 1.22.8, FFmpeg 4.4.2 in the sandbox. FFmpeg 6.x recommended
  for publishers in Task 10; 4.4.2 is sufficient for the PoC (libx264 +
  libopus + RTP muxer all present).
- `go build ./...` on the clean fork: succeeds.
- `go test -short ./...` on the clean fork: all packages pass. No upstream
  flakes observed.

### Pre-existing state of note
- None flagged.

---

<!-- Add M1 verification notes here after Task 12 succeeds. -->
