datarhei-dragonfork-core/restream/app
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
..
avstream.go Add looping_runtime to avstream status 2023-05-05 12:03:48 +02:00
log.go Add v16.7.2 2022-05-13 19:26:45 +02:00
probe.go Add v16.7.2 2022-05-13 19:26:45 +02:00
process.go fix(webrtc): make WebRTC FFmpeg stream maps configurable (closes #2) 2026-05-03 12:10:51 +00:00
process_test.go Add new placeholders and parameters for placeholder 2022-07-06 19:51:47 +02:00
progress.go Add support for input framerate data from jsonstats patch 2023-04-13 15:22:33 +02:00