1
This commit is contained in:
1 parent
2c43c99fa6
commit
c45553b2bd
1 file changed
+1
-1
@@ -82,7 +82,7 @@ public class EcDeviceServiceImpl extends ServiceImpl<EcDeviceMapper, EcDevicePlu
|
||||
if (!file.exists()) {
|
||||
file.mkdirs();
|
||||
}
|
||||
String fileName = MjpegUtil.snapshot("http://" + device.getIpAddress() + ":8080/stream.mjpeg?clientId=" + deviceCode, RuoYiConfig.getProfile() + "/ec/" + deviceCode + "/");
|
||||
String fileName = MjpegUtil.snapshot("http://" + device.getIpAddress() + ":8082/stream.mjpeg?clientId=" + deviceCode, RuoYiConfig.getProfile() + "/ec/" + deviceCode + "/");
|
||||
return ruoYiConfig.getReqUrl() + "/ec/" + deviceCode + "/" + fileName;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user