datarhei-dragonfork-core/http
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
..
api fix(webrtc): make WebRTC FFmpeg stream maps configurable (closes #2) 2026-05-03 12:10:51 +00:00
cache Add cache block list for extensions not to cache 2022-08-02 19:10:28 +02:00
cors Add v16.7.2 2022-05-13 19:26:45 +02:00
errorhandler Add GoSRT & improvements (repo-merge) 2022-06-23 22:13:58 +02:00
fs Add S3 storage support 2023-01-31 14:45:58 +01:00
graph Update dependencies 2023-09-04 16:36:53 +02:00
handler Create empty session registry if none is provided 2024-04-05 16:01:19 +02:00
jwt Update dependencies 2023-09-04 16:36:53 +02:00
middleware Skip handling if session collectors are nil 2024-04-05 15:59:47 +02:00
mock Use abstract filesystem for stores 2023-02-01 16:09:20 +01:00
router Add v16.7.2 2022-05-13 19:26:45 +02:00
validator Add v16.7.2 2022-05-13 19:26:45 +02:00
log.go Add v16.7.2 2022-05-13 19:26:45 +02:00
server.go feat(webrtc): wire app/webrtc subsystem into Core lifecycle 2026-04-17 10:08:54 -04:00