mirror of
https://gitee.com/pan648540858/wvp-GB28181-pro.git
synced 2026-05-25 06:27:50 +08:00
修改抓拍存储
This commit is contained in:
parent
bb350e847d
commit
1d36382986
@ -378,11 +378,13 @@ public class ABLRESTfulUtils {
|
|||||||
param.put("stream", stream);
|
param.put("stream", stream);
|
||||||
param.put("timeout_sec", timeoutSec);
|
param.put("timeout_sec", timeoutSec);
|
||||||
param.put("vhost", "_defaultVhost_");
|
param.put("vhost", "_defaultVhost_");
|
||||||
JSONObject jsonObject = sendPost(mediaServer, "getSnap", param, null);
|
// JSONObject jsonObject = sendPost(mediaServer, "getSnap", param, null);
|
||||||
if (jsonObject != null && jsonObject.getInteger("code") == 0) {
|
// if (jsonObject != null && jsonObject.getInteger("code") == 0) {
|
||||||
String url = jsonObject.getString("url");
|
// String url = jsonObject.getString("url");
|
||||||
sendGetForImgForUrl(url, path, fileName);
|
// sendGetForImgForUrl(url, path, fileName);
|
||||||
}
|
// }
|
||||||
|
sendGetForImg(mediaServer, "getSnap", param, path, fileName);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user