|  | @@ -29,18 +29,15 @@ public class CameraUtil {
 | 
												
													
														
															|  |      private static String historyUrl;
 |  |      private static String historyUrl;
 | 
												
													
														
															|  |      private static String ffmpegPath;
 |  |      private static String ffmpegPath;
 | 
												
													
														
															|  |      private static String mappingUrl;
 |  |      private static String mappingUrl;
 | 
												
													
														
															|  | -    private static String surl;
 |  | 
 | 
												
													
														
															|  |      @Autowired
 |  |      @Autowired
 | 
												
													
														
															|  |      private CaneraConfig caneraConfig;
 |  |      private CaneraConfig caneraConfig;
 | 
												
													
														
															|  | -    @Autowired
 |  | 
 | 
												
													
														
															|  | -    private ServerConfig serverConfig;
 |  | 
 | 
												
													
														
															|  | 
 |  | +
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |      /**
 |  |      /**
 | 
												
													
														
															|  |       * 历史回放
 |  |       * 历史回放
 | 
												
													
														
															|  |       *
 |  |       *
 | 
												
													
														
															|  | -     * @param channel
 |  | 
 | 
												
													
														
															|  | -     * @param startTm
 |  | 
 | 
												
													
														
															|  | -     * @param endTm
 |  | 
 | 
												
													
														
															|  | 
 |  | +     * @param fromVideoFileList
 | 
												
													
														
															|  | 
 |  | +     * @param ph
 | 
												
													
														
															|  |       * @return
 |  |       * @return
 | 
												
													
														
															|  |       * @throws IOException
 |  |       * @throws IOException
 | 
												
													
														
															|  |       */
 |  |       */
 | 
												
											
												
													
														
															|  | @@ -48,7 +45,7 @@ public class CameraUtil {
 | 
												
													
														
															|  |          // 视频服务映射路径
 |  |          // 视频服务映射路径
 | 
												
													
														
															|  |          String NewfilePath = BaseConfig.getProfile() + ph;
 |  |          String NewfilePath = BaseConfig.getProfile() + ph;
 | 
												
													
														
															|  |          convetor(fromVideoFileList, NewfilePath);
 |  |          convetor(fromVideoFileList, NewfilePath);
 | 
												
													
														
															|  | -        return surl + "/profile" + ph;
 |  | 
 | 
												
													
														
															|  | 
 |  | +        return "/profile" + ph;
 | 
												
													
														
															|  |      }
 |  |      }
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |      public static String getPlayFlv(String cameraCode, String channel) {
 |  |      public static String getPlayFlv(String cameraCode, String channel) {
 | 
												
											
												
													
														
															|  | @@ -138,7 +135,6 @@ public class CameraUtil {
 | 
												
													
														
															|  |          mappingUrl = caneraConfig.getMappingUrl();
 |  |          mappingUrl = caneraConfig.getMappingUrl();
 | 
												
													
														
															|  |          historyUrl = caneraConfig.getHistoryUrl();
 |  |          historyUrl = caneraConfig.getHistoryUrl();
 | 
												
													
														
															|  |          ffmpegPath = caneraConfig.getFfmpegPath();
 |  |          ffmpegPath = caneraConfig.getFfmpegPath();
 | 
												
													
														
															|  | -        surl = serverConfig.getUrl();
 |  | 
 | 
												
													
														
															|  |      }
 |  |      }
 | 
												
													
														
															|  |  
 |  |  
 | 
												
													
														
															|  |      /**
 |  |      /**
 |