Browse Source

视频回放写死转码参数为true, 转码为mp4

ZhangWenTao 2 years ago
parent
commit
ce5feea332

+ 2 - 0
src/main/java/com/persagy/cameractl/controller/HelloController.java

@@ -75,6 +75,8 @@ public class HelloController {
 			_camera.ipcIp = val;
 			_camera.ipcIp = val;
 		}
 		}
 
 
+		// 2022-07-04 视频必须转码
+		_camera.transcoding = true;
 
 
 		ResultClass result = ptzMain.ptzOper(_camera, operType);
 		ResultClass result = ptzMain.ptzOper(_camera, operType);
 		switch (String.valueOf(result.name)) {
 		switch (String.valueOf(result.name)) {