re-upload

This commit is contained in:
chk
2026-06-06 12:33:41 +02:00
parent a95dcec0a3
commit 86025d22fa
3 changed files with 3 additions and 0 deletions

View File

@@ -416,4 +416,5 @@ class CameraSwitch extends EventEmitter {
}
}
module.exports = { CameraSwitch, MpjpegParser, readJpegWidth };

View File

@@ -39,4 +39,5 @@ function detectDevices() {
return ['/dev/video0', '/dev/video2'];
}
module.exports = { detectDevices };

View File

@@ -72,6 +72,7 @@ function createSnapshotRouter(switches, cameras) {
return router;
}
// MJPEG-Live-Stream als multipart/x-mixed-replace. Ein FFmpeg (im Schalter) →
// Fan-out an beliebig viele Browser. Browser rendert das nativ im <img>.
function createStreamRouter(switches) {