Browse Source

移除无用方法和变量

648540858 1 year ago
parent
commit
ef66bd8781

+ 0 - 4
src/main/java/com/genersoft/iot/vmp/common/VideoManagerConstants.java

@@ -20,12 +20,8 @@ public class VideoManagerConstants {
 
 	public static final String INVITE_PREFIX = "VMP_INVITE_INFO";
 
-	public static final String PLATFORM_KEEPALIVE_PREFIX = "VMP_PLATFORM_KEEPALIVE_";
-
 	public static final String PLATFORM_CATCH_PREFIX = "VMP_PLATFORM_CATCH_";
 
-	public static final String PLATFORM_REGISTER_PREFIX = "VMP_PLATFORM_REGISTER_";
-
 	public static final String PLATFORM_REGISTER_INFO_PREFIX = "VMP_PLATFORM_REGISTER_INFO_";
 
 	public static final String SEND_RTP_INFO = "VMP_SEND_RTP_INFO:";

+ 0 - 4
src/main/java/com/genersoft/iot/vmp/storager/IRedisCatchStorage.java

@@ -28,10 +28,6 @@ public interface IRedisCatchStorage {
 
     void delPlatformCatchInfo(String platformGbId);
 
-    void delPlatformKeepalive(String platformGbId);
-
-    void delPlatformRegister(String platformGbId);
-
     void updatePlatformRegisterInfo(String callId, PlatformRegisterInfo platformRegisterInfo);
 
     PlatformRegisterInfo queryPlatformRegisterInfo(String callId);

+ 0 - 11
src/main/java/com/genersoft/iot/vmp/storager/impl/RedisCatchStorageImpl.java

@@ -88,17 +88,6 @@ public class RedisCatchStorageImpl implements IRedisCatchStorage {
         redisTemplate.delete(VideoManagerConstants.PLATFORM_CATCH_PREFIX + userSetting.getServerId() + "_" + platformGbId);
     }
 
-    @Override
-    public void delPlatformKeepalive(String platformGbId) {
-        redisTemplate.delete(VideoManagerConstants.PLATFORM_KEEPALIVE_PREFIX + userSetting.getServerId() + "_" + platformGbId);
-    }
-
-    @Override
-    public void delPlatformRegister(String platformGbId) {
-        redisTemplate.delete(VideoManagerConstants.PLATFORM_REGISTER_PREFIX + userSetting.getServerId() + "_" + platformGbId);
-    }
-
-
     @Override
     public void updatePlatformRegisterInfo(String callId, PlatformRegisterInfo platformRegisterInfo) {
         String key = VideoManagerConstants.PLATFORM_REGISTER_INFO_PREFIX + userSetting.getServerId() + "_" + callId;