Files
neko/server/internal/capture
Abdellatif Anaflous a2cb38dd10 fix(capture): derive video ids from pipelines and guard empty list (#711)
when NEKO_CAPTURE_VIDEO_PIPELINES is set without capture.video.ids the
VideoIDs list stayed empty, so capture.Video().IDs() returned [] and the
first websocket signal request crashed the whole server with
"index out of range [0] with length 0" in signalRequest.

now we fill VideoIDs from the configured pipeline keys (sorted by id)
whenever no ids are set explicitly, and signalRequest returns a plain
error instead of panicking when there is no video stream at all.

added tests for the config loader, the capture manager and the signal
handler so this path stays covered.
2026-10-04 19:11:50 +02:00
..
2025-03-26 23:51:19 +01:00
2025-03-26 23:51:19 +01:00