From c5a05c15df6c01602f259a49ff470fa996579b0b Mon Sep 17 00:00:00 2001 From: lawrencehj <1934378145@qq.com> Date: 星期五, 26 三月 2021 19:58:46 +0800 Subject: [PATCH] 启动时清除先前注册上级平台的缓存 --- src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMRESTfulUtils.java | 12 ++++++++++++ 1 files changed, 12 insertions(+), 0 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMRESTfulUtils.java b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMRESTfulUtils.java index 58de847..ad17fee 100644 --- a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMRESTfulUtils.java +++ b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMRESTfulUtils.java @@ -73,6 +73,10 @@ return sendPost("getMediaList",param); } + public JSONObject getMediaList(){ + return sendPost("getMediaList",null); + } + public JSONObject getMediaInfo(String app, String schema, String stream){ Map<String, Object> param = new HashMap<>(); param.put("app",app); @@ -119,4 +123,12 @@ public JSONObject closeRtpServer(Map<String, Object> param) { return sendPost("closeRtpServer",param); } + + public JSONObject startSendRtp(Map<String, Object> param) { + return sendPost("startSendRtp",param); + } + + public JSONObject stopSendRtp(Map<String, Object> param) { + return sendPost("stopSendRtp",param); + } } -- Gitblit v1.8.0