BuildArgs hardcoded -map 0✌️0 / -map 0🅰️0 for the two RTP legs. Correct for production RTMP/SRT publishers (single combined input), but breaks any process whose audio lives on a different input index — multi-input lavfi test scaffolds, multi-camera pipelines, SDI + file-audio mixes, etc. Adds VideoMap and AudioMap fields to ConfigWebRTC (and the API DTO), defaulting to the prior literals so existing deployments are unaffected. BuildArgs reads them. Tests: - TestBuildArgs_DefaultMaps locks the empty-string default behavior - TestBuildArgs_CustomMaps drives the multi-input override path - TestProcessConfigWebRTCMapsRoundtrip extends the DTO roundtrip Closes #2. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| api | ||
| ffmigrate | ||
| import | ||
| webrtc | ||
| version.go | ||