MediaServerConfig.java 5.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. package com.genersoft.iot.vmp.conf;
  2. import com.alibaba.fastjson.annotation.JSONField;
  3. import lombok.Data;
  4. @Data
  5. public class MediaServerConfig {
  6. @JSONField(name = "api.apiDebug")
  7. private String apiDebug;
  8. @JSONField(name = "api.secret")
  9. private String apiSecret;
  10. @JSONField(name = "ffmpeg.bin")
  11. private String ffmpegBin;
  12. @JSONField(name = "ffmpeg.cmd")
  13. private String ffmpegCmd;
  14. @JSONField(name = "ffmpeg.log")
  15. private String ffmpegLog;
  16. @JSONField(name = "general.enableVhost")
  17. private String generalEnableVhost;
  18. @JSONField(name = "general.flowThreshold")
  19. private String generalFlowThreshold;
  20. @JSONField(name = "general.maxStreamWaitMS")
  21. private String generalMaxStreamWaitMS;
  22. @JSONField(name = "general.streamNoneReaderDelayMS")
  23. private String generalStreamNoneReaderDelayMS;
  24. @JSONField(name = "general.localIP")
  25. private String localIP;
  26. @JSONField(name = "hls.fileBufSize")
  27. private String hlsFileBufSize;
  28. @JSONField(name = "hls.filePath")
  29. private String hlsFilePath;
  30. @JSONField(name = "hls.segDur")
  31. private String hlsSegDur;
  32. @JSONField(name = "hls.segNum")
  33. private String hlsSegNum;
  34. @JSONField(name = "hook.access_file_except_hls")
  35. private String hookAccessFileExceptHLS;
  36. @JSONField(name = "hook.admin_params")
  37. private String hookAdminParams;
  38. @JSONField(name = "hook.enable")
  39. private String hookEnable;
  40. @JSONField(name = "hook.on_flow_report")
  41. private String hookOnFlowReport;
  42. @JSONField(name = "hook.on_http_access")
  43. private String hookOnHttpAccess;
  44. @JSONField(name = "hook.on_play")
  45. private String hookOnPlay;
  46. @JSONField(name = "hook.on_publish")
  47. private String hookOnPublish;
  48. @JSONField(name = "hook.on_record_mp4")
  49. private String hookOnRecordMp4;
  50. @JSONField(name = "hook.on_rtsp_auth")
  51. private String hookOnRtspAuth;
  52. @JSONField(name = "hook.on_rtsp_realm")
  53. private String hookOnRtspRealm;
  54. @JSONField(name = "hook.on_shell_login")
  55. private String hookOnShellLogin;
  56. @JSONField(name = "hook.on_stream_changed")
  57. private String hookOnStreamChanged;
  58. @JSONField(name = "hook.on_stream_none_reader")
  59. private String hookOnStreamNoneReader;
  60. @JSONField(name = "hook.on_stream_not_found")
  61. private String hookOnStreamNotFound;
  62. @JSONField(name = "hook.timeoutSec")
  63. private String hookTimeoutSec;
  64. @JSONField(name = "http.charSet")
  65. private String httpCharSet;
  66. @JSONField(name = "http.keepAliveSecond")
  67. private String httpKeepAliveSecond;
  68. @JSONField(name = "http.maxReqCount")
  69. private String httpMaxReqCount;
  70. @JSONField(name = "http.maxReqSize")
  71. private String httpMaxReqSize;
  72. @JSONField(name = "http.notFound")
  73. private String httpNotFound;
  74. @JSONField(name = "http.port")
  75. private String httpPort;
  76. @JSONField(name = "http.rootPath")
  77. private String httpRootPath;
  78. @JSONField(name = "http.sendBufSize")
  79. private String httpSendBufSize;
  80. @JSONField(name = "http.sslport")
  81. private String httpSSLport;
  82. @JSONField(name = "multicast.addrMax")
  83. private String multicastAddrMax;
  84. @JSONField(name = "multicast.addrMin")
  85. private String multicastAddrMin;
  86. @JSONField(name = "multicast.udpTTL")
  87. private String multicastUdpTTL;
  88. @JSONField(name = "record.appName")
  89. private String recordAppName;
  90. @JSONField(name = "record.filePath")
  91. private String recordFilePath;
  92. @JSONField(name = "record.fileSecond")
  93. private String recordFileSecond;
  94. @JSONField(name = "record.sampleMS")
  95. private String recordFileSampleMS;
  96. @JSONField(name = "rtmp.handshakeSecond")
  97. private String rtmpHandshakeSecond;
  98. @JSONField(name = "rtmp.keepAliveSecond")
  99. private String rtmpKeepAliveSecond;
  100. @JSONField(name = "rtmp.modifyStamp")
  101. private String rtmpModifyStamp;
  102. @JSONField(name = "rtmp.port")
  103. private String rtmpPort;
  104. @JSONField(name = "rtp.audioMtuSize")
  105. private String rtpAudioMtuSize;
  106. @JSONField(name = "rtp.clearCount")
  107. private String rtpClearCount;
  108. @JSONField(name = "rtp.cycleMS")
  109. private String rtpCycleMS;
  110. @JSONField(name = "rtp.maxRtpCount")
  111. private String rtpMaxRtpCount;
  112. @JSONField(name = "rtp.videoMtuSize")
  113. private String rtpVideoMtuSize;
  114. @JSONField(name = "rtp_proxy.checkSource")
  115. private String rtpProxyCheckSource;
  116. @JSONField(name = "rtp_proxy.dumpDir")
  117. private String rtpProxyDumpDir;
  118. @JSONField(name = "rtp_proxy.port")
  119. private String rtpProxyPort;
  120. @JSONField(name = "rtp_proxy.timeoutSec")
  121. private String rtpProxyTimeoutSec;
  122. @JSONField(name = "rtsp.authBasic")
  123. private String rtspAuthBasic;
  124. @JSONField(name = "rtsp.handshakeSecond")
  125. private String rtspHandshakeSecond;
  126. @JSONField(name = "rtsp.keepAliveSecond")
  127. private String rtspKeepAliveSecond;
  128. @JSONField(name = "rtsp.port")
  129. private String rtspPort;
  130. @JSONField(name = "rtsp.sslport")
  131. private String rtspSSlport;
  132. @JSONField(name = "shell.maxReqSize")
  133. private String shellMaxReqSize;
  134. @JSONField(name = "shell.shell")
  135. private String shellPhell;
  136. }