From 1d36382986af25bd90c11634fdfeaeb90954fac1 Mon Sep 17 00:00:00 2001 From: 648540858 <648540858@qq.com> Date: Wed, 10 Apr 2024 16:52:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=8A=93=E6=8B=8D=E5=AD=98?= =?UTF-8?q?=E5=82=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../genersoft/iot/vmp/media/abl/ABLRESTfulUtils.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/media/abl/ABLRESTfulUtils.java b/src/main/java/com/genersoft/iot/vmp/media/abl/ABLRESTfulUtils.java index c4e5f23d..d968a491 100644 --- a/src/main/java/com/genersoft/iot/vmp/media/abl/ABLRESTfulUtils.java +++ b/src/main/java/com/genersoft/iot/vmp/media/abl/ABLRESTfulUtils.java @@ -378,11 +378,13 @@ public class ABLRESTfulUtils { param.put("stream", stream); param.put("timeout_sec", timeoutSec); param.put("vhost", "_defaultVhost_"); - JSONObject jsonObject = sendPost(mediaServer, "getSnap", param, null); - if (jsonObject != null && jsonObject.getInteger("code") == 0) { - String url = jsonObject.getString("url"); - sendGetForImgForUrl(url, path, fileName); - } +// JSONObject jsonObject = sendPost(mediaServer, "getSnap", param, null); +// if (jsonObject != null && jsonObject.getInteger("code") == 0) { +// String url = jsonObject.getString("url"); +// sendGetForImgForUrl(url, path, fileName); +// } + sendGetForImg(mediaServer, "getSnap", param, path, fileName); + } }