Umbau mit cameraSwitch Fix 1
This commit is contained in:
@@ -96,7 +96,7 @@ class CameraSwitch extends EventEmitter {
|
||||
'-f', 'v4l2', '-input_format', 'mjpeg',
|
||||
'-video_size', this.liveSize, '-framerate', String(this.liveFps),
|
||||
'-i', this.device,
|
||||
'-c:v', 'copy', '-f', 'mpjpeg', 'pipe:1',
|
||||
'-c:v', 'mjpeg', '-q:v', '5', '-f', 'mpjpeg', 'pipe:1',
|
||||
];
|
||||
let p;
|
||||
try {
|
||||
@@ -189,7 +189,7 @@ class CameraSwitch extends EventEmitter {
|
||||
'-f', 'v4l2', '-input_format', 'mjpeg',
|
||||
'-video_size', this.hiresSize, '-framerate', String(this.hiresFps),
|
||||
'-i', this.device,
|
||||
'-c:v', 'copy', '-f', 'mpjpeg', 'pipe:1',
|
||||
'-c:v', 'mjpeg', '-q:v', '5', '-f', 'mpjpeg', 'pipe:1',
|
||||
];
|
||||
let p;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user