|
@@ -6,6 +6,8 @@ import com.genersoft.iot.vmp.common.SystemAllInfo;
|
|
|
import com.genersoft.iot.vmp.common.VideoManagerConstants;
|
|
import com.genersoft.iot.vmp.common.VideoManagerConstants;
|
|
|
import com.genersoft.iot.vmp.conf.UserSetting;
|
|
import com.genersoft.iot.vmp.conf.UserSetting;
|
|
|
import com.genersoft.iot.vmp.gb28181.bean.*;
|
|
import com.genersoft.iot.vmp.gb28181.bean.*;
|
|
|
|
|
+import com.genersoft.iot.vmp.gb28181.dao.DeviceChannelMapper;
|
|
|
|
|
+import com.genersoft.iot.vmp.gb28181.dao.DeviceMapper;
|
|
|
import com.genersoft.iot.vmp.media.bean.MediaInfo;
|
|
import com.genersoft.iot.vmp.media.bean.MediaInfo;
|
|
|
import com.genersoft.iot.vmp.media.bean.MediaServer;
|
|
import com.genersoft.iot.vmp.media.bean.MediaServer;
|
|
|
import com.genersoft.iot.vmp.media.event.media.MediaArrivalEvent;
|
|
import com.genersoft.iot.vmp.media.event.media.MediaArrivalEvent;
|
|
@@ -14,10 +16,7 @@ import com.genersoft.iot.vmp.media.zlm.dto.hook.OnStreamChangedHookParam;
|
|
|
import com.genersoft.iot.vmp.service.bean.GPSMsgInfo;
|
|
import com.genersoft.iot.vmp.service.bean.GPSMsgInfo;
|
|
|
import com.genersoft.iot.vmp.service.bean.MessageForPushChannel;
|
|
import com.genersoft.iot.vmp.service.bean.MessageForPushChannel;
|
|
|
import com.genersoft.iot.vmp.storager.IRedisCatchStorage;
|
|
import com.genersoft.iot.vmp.storager.IRedisCatchStorage;
|
|
|
-import com.genersoft.iot.vmp.gb28181.dao.DeviceChannelMapper;
|
|
|
|
|
-import com.genersoft.iot.vmp.gb28181.dao.DeviceMapper;
|
|
|
|
|
import com.genersoft.iot.vmp.storager.dao.dto.PlatformRegisterInfo;
|
|
import com.genersoft.iot.vmp.storager.dao.dto.PlatformRegisterInfo;
|
|
|
-import com.genersoft.iot.vmp.streamPush.bean.StreamPush;
|
|
|
|
|
import com.genersoft.iot.vmp.utils.DateUtil;
|
|
import com.genersoft.iot.vmp.utils.DateUtil;
|
|
|
import com.genersoft.iot.vmp.utils.JsonUtil;
|
|
import com.genersoft.iot.vmp.utils.JsonUtil;
|
|
|
import com.genersoft.iot.vmp.utils.SystemInfoUtils;
|
|
import com.genersoft.iot.vmp.utils.SystemInfoUtils;
|
|
@@ -705,7 +704,7 @@ public class RedisCatchStorageImpl implements IRedisCatchStorage {
|
|
|
@Override
|
|
@Override
|
|
|
public void removePushListItem(String app, String stream, String mediaServerId) {
|
|
public void removePushListItem(String app, String stream, String mediaServerId) {
|
|
|
String key = VideoManagerConstants.PUSH_STREAM_LIST + app + "_" + stream;
|
|
String key = VideoManagerConstants.PUSH_STREAM_LIST + app + "_" + stream;
|
|
|
- StreamPush param = (StreamPush)redisTemplate.opsForValue().get(key);
|
|
|
|
|
|
|
+ OnStreamChangedHookParam param = (OnStreamChangedHookParam)redisTemplate.opsForValue().get(key);
|
|
|
if (param != null && param.getMediaServerId().equalsIgnoreCase(mediaServerId)) {
|
|
if (param != null && param.getMediaServerId().equalsIgnoreCase(mediaServerId)) {
|
|
|
redisTemplate.delete(key);
|
|
redisTemplate.delete(key);
|
|
|
}
|
|
}
|