|  | @@ -137,7 +137,7 @@ public class RedisCatchStorageImpl implements IRedisCatchStorage {
 | 
	
		
			
				|  |  |      public void addStream(MediaServer mediaServerItem, String type, String app, String streamId, MediaInfo mediaInfo) {
 | 
	
		
			
				|  |  |          // 查找是否使用了callID
 | 
	
		
			
				|  |  |          StreamAuthorityInfo streamAuthorityInfo = getStreamAuthorityInfo(app, streamId);
 | 
	
		
			
				|  |  | -        String key = VideoManagerConstants.WVP_SERVER_STREAM_PREFIX  + userSetting.getServerId() + "_" + type + "_" + app + "_" + streamId + "_" + mediaServerItem.getId();
 | 
	
		
			
				|  |  | +        String key = VideoManagerConstants.WVP_SERVER_STREAM_PREFIX  + userSetting.getServerId() + "_" + type.toUpperCase() + "_" + app + "_" + streamId + "_" + mediaServerItem.getId();
 | 
	
		
			
				|  |  |          if (streamAuthorityInfo != null) {
 | 
	
		
			
				|  |  |              mediaInfo.setCallId(streamAuthorityInfo.getCallId());
 | 
	
		
			
				|  |  |          }
 | 
	
	
		
			
				|  | @@ -146,13 +146,13 @@ public class RedisCatchStorageImpl implements IRedisCatchStorage {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      public void removeStream(String mediaServerId, String type, String app, String streamId) {
 | 
	
		
			
				|  |  | -        String key = VideoManagerConstants.WVP_SERVER_STREAM_PREFIX + userSetting.getServerId() + "_" + type + "_"  + app + "_" + streamId + "_" + mediaServerId;
 | 
	
		
			
				|  |  | +        String key = VideoManagerConstants.WVP_SERVER_STREAM_PREFIX + userSetting.getServerId() + "_" + type.toUpperCase() + "_"  + app + "_" + streamId + "_" + mediaServerId;
 | 
	
		
			
				|  |  |          redisTemplate.delete(key);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      public void removeStream(String mediaServerId, String type) {
 | 
	
		
			
				|  |  | -        String key = VideoManagerConstants.WVP_SERVER_STREAM_PREFIX + userSetting.getServerId() + "_" + type + "_*_*_" + mediaServerId;
 | 
	
		
			
				|  |  | +        String key = VideoManagerConstants.WVP_SERVER_STREAM_PREFIX + userSetting.getServerId() + "_" + type.toUpperCase() + "_*_*_" + mediaServerId;
 | 
	
		
			
				|  |  |          List<Object> streams = RedisUtil.scan(redisTemplate, key);
 | 
	
		
			
				|  |  |          for (Object stream : streams) {
 | 
	
		
			
				|  |  |              redisTemplate.delete(stream);
 | 
	
	
		
			
				|  | @@ -162,7 +162,7 @@ public class RedisCatchStorageImpl implements IRedisCatchStorage {
 | 
	
		
			
				|  |  |      @Override
 | 
	
		
			
				|  |  |      public List<MediaInfo> getStreams(String mediaServerId, String type) {
 | 
	
		
			
				|  |  |          List<MediaInfo> result = new ArrayList<>();
 | 
	
		
			
				|  |  | -        String key = VideoManagerConstants.WVP_SERVER_STREAM_PREFIX + userSetting.getServerId() + "_" + type + "_*_*_" + mediaServerId;
 | 
	
		
			
				|  |  | +        String key = VideoManagerConstants.WVP_SERVER_STREAM_PREFIX + userSetting.getServerId() + "_" + type.toUpperCase() + "_*_*_" + mediaServerId;
 | 
	
		
			
				|  |  |          List<Object> streams = RedisUtil.scan(redisTemplate, key);
 | 
	
		
			
				|  |  |          for (Object stream : streams) {
 | 
	
		
			
				|  |  |              MediaInfo mediaInfo = (MediaInfo)redisTemplate.opsForValue().get(stream);
 |