datarhei-dragonfork-core/restream
Zac Gaetano 49677fbd3d
Some checks failed
tests / build (push) Failing after 2s
tests / build (pull_request) Failing after 1s
fix(webrtc): make WebRTC FFmpeg stream maps configurable (closes #2)
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>
2026-05-03 12:10:51 +00:00
..
app fix(webrtc): make WebRTC FFmpeg stream maps configurable (closes #2) 2026-05-03 12:10:51 +00:00
fs Fix tests 2023-04-26 09:50:09 +02:00
replace Fix placeholder parsing 2024-03-14 12:03:04 +01:00
store Use abstract filesystem for stores 2023-02-01 16:09:20 +01:00
restream.go feat(restream): add ProcessHooks for WebRTC subsystem integration 2026-04-17 09:57:14 -04:00
restream_test.go Fix not propagating process limits 2023-04-26 09:49:28 +02:00