We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8fff0ca commit 958537bCopy full SHA for 958537b
server/services/rtsp-camera/lib/getImage.js
@@ -43,8 +43,7 @@ async function getImage(device) {
43
44
// For rtsp protocol, add tcp transport to avoid green band of pixels)
45
if (cameraUrlParam.value.includes('rtsp')) {
46
- args.push('-rtsp_transport');
47
- args.push('tcp');
+ args.unshift('-rtsp_transport', 'tcp');
48
}
49
50
args.push('-vf');
0 commit comments