CaneraConfig.java 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374
  1. package com.ozs.utils;
  2. import lombok.Data;
  3. import org.springframework.beans.factory.annotation.Value;
  4. import org.springframework.context.annotation.Configuration;
  5. @Configuration
  6. @Data
  7. public class CaneraConfig {
  8. /**
  9. * 视频服务器访问路径
  10. */
  11. @Value("${base.historyUrl:http://47.106.159.135/streams}")
  12. private String historyUrl;
  13. /**
  14. * ffmpeg.exe路径
  15. * "D:\\Java\\operSources\\ffmpeg-4.3.1\\bin\\ffmpeg.exe"
  16. */
  17. @Value("${base.ffmpegPath:C:\\Users\\Administrator.DESKTOP-0NUUTMM\\Downloads\\ffmpeg-5.1.2-essentials_build\\ffmpeg-5.1.2-essentials_build\\bin\\ffmpeg.exe}")
  18. private String ffmpegPath;
  19. @Value("${base.filePath:/opt/streams/}")
  20. private String filePath;
  21. /**
  22. * 录制视频存放路径
  23. */
  24. @Value("${base.transcribeFilePath:/opt/streams/record/flv}")
  25. private String transcribeFilePath;
  26. @Value("${base.webUrl:http://47.106.159.135/streams}")
  27. private String webUrl;
  28. @Value("${base.bakUrl:http://124.70.58.209:18891}")
  29. private String bakUrl;
  30. @Value("${base.bakUrlRtsp:rtsp://124.70.58.209:8554}")
  31. private String bakUrlRtsp;
  32. @Value("${base.wsUrl:http://124.70.58.209:18891}")
  33. private String wsUrl;
  34. @Value("${base.wsUrl:http://124.70.58.209:18891}")
  35. private String wsUrls;
  36. @Value("${base.recordUrl:http://123.139.243.142:18084}")
  37. private String recordUrl;
  38. @Value("${base.hkUrl:http://10.48.253.21:1443}")
  39. private String hkUrl;
  40. @Value("${artemis.host:10.48.253.21:1443}")
  41. private String host;
  42. @Value("${artemis.appKey:20110033}")
  43. private String appKey;
  44. @Value("${artemis.appSecret:QoGESFXOYrC68ixIS7wo}")
  45. private String appSecret;
  46. @Value("${base.rtmpUrl:rtmp://10.48.31.84:1935}")
  47. private String rtmpUrl;
  48. @Value("${base.httpUrl:http://10.48.31.84:9080}")
  49. public String httpUrl;
  50. @Value("${base.httpUrls:http://10.48.36.48:9080}")
  51. public String httpUrls;
  52. }