From 3432548c1a7eeac6ecfc71916ba34ae76cf32412 Mon Sep 17 00:00:00 2001 From: 64850858 <648540858@qq.com> Date: 星期一, 28 六月 2021 15:54:50 +0800 Subject: [PATCH] 修复用户更新sql错误,ffmpeg拉流代理超时时间错误 --- src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMMediaListManager.java | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMMediaListManager.java b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMMediaListManager.java index a50b170..ed407d2 100644 --- a/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMMediaListManager.java +++ b/src/main/java/com/genersoft/iot/vmp/media/zlm/ZLMMediaListManager.java @@ -1,9 +1,7 @@ package com.genersoft.iot.vmp.media.zlm; -import com.alibaba.fastjson.JSON; import com.alibaba.fastjson.JSONArray; import com.alibaba.fastjson.JSONObject; -import com.genersoft.iot.vmp.conf.MediaServerConfig; import com.genersoft.iot.vmp.media.zlm.dto.StreamProxyItem; import com.genersoft.iot.vmp.media.zlm.dto.StreamPushItem; import com.genersoft.iot.vmp.gb28181.bean.GbStream; @@ -19,6 +17,7 @@ import java.util.*; +@SuppressWarnings("unchecked") @Component public class ZLMMediaListManager { @@ -126,7 +125,7 @@ public void clearAllSessions() { logger.info("娓呯┖鎵�鏈夊浗鏍囩浉鍏崇殑session"); JSONObject allSessionJSON = zlmresTfulUtils.getAllSession(); - MediaServerConfig mediaInfo = redisCatchStorage.getMediaInfo(); + ZLMServerConfig mediaInfo = redisCatchStorage.getMediaInfo(); HashSet<String> allLocalPorts = new HashSet(); if (allSessionJSON.getInteger("code") == 0) { JSONArray data = allSessionJSON.getJSONArray("data"); -- Gitblit v1.8.0