Commit 99506108cd1e90d4018391fc57ca029ba11251ed
1 parent
5ff2faa5
添加日志
Showing
2 changed files
with
2 additions
and
1 deletions
src/main/java/com/genersoft/iot/vmp/conf/CloudRecordTimer.java
| ... | ... | @@ -40,6 +40,7 @@ public class CloudRecordTimer { |
| 40 | 40 | */ |
| 41 | 41 | @Scheduled(cron = "0 0 0 * * ?") //每天的0点执行 |
| 42 | 42 | public void execute(){ |
| 43 | + logger.info("[录像文件定时清理] 开始清理过期录像文件"); | |
| 43 | 44 | // 获取配置了assist的流媒体节点 |
| 44 | 45 | List<MediaServerItem> mediaServerItemList = mediaServerService.getAllWithAssistPort(); |
| 45 | 46 | if (mediaServerItemList.isEmpty()) { | ... | ... |
src/main/resources/all-application.yml
| ... | ... | @@ -182,7 +182,7 @@ user-settings: |
| 182 | 182 | # 使用推流状态作为推流通道状态 |
| 183 | 183 | use-pushing-as-status: true |
| 184 | 184 | # 使用来源请求ip作为streamIp,当且仅当你只有zlm节点它与wvp在一起的情况下开启 |
| 185 | - use-source-ip-as-stream-ip: true | |
| 185 | + use-source-ip-as-stream-ip: false | |
| 186 | 186 | # 国标点播 按需拉流, true:有人观看拉流,无人观看释放, false:拉起后不自动释放 |
| 187 | 187 | stream-on-demand: true |
| 188 | 188 | # 推流鉴权, 默认开启 | ... | ... |