re-upload
This commit is contained in:
@@ -416,4 +416,5 @@ class CameraSwitch extends EventEmitter {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
module.exports = { CameraSwitch, MpjpegParser, readJpegWidth };
|
||||
|
||||
@@ -39,4 +39,5 @@ function detectDevices() {
|
||||
return ['/dev/video0', '/dev/video2'];
|
||||
}
|
||||
|
||||
|
||||
module.exports = { detectDevices };
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user