更新readme

This commit is contained in:
64850858
2021-07-14 16:06:31 +08:00
parent e48ef997c0
commit 367ec111e4
5 changed files with 434 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
package com.genersoft.iot.vmp.conf;
import com.genersoft.iot.vmp.gb28181.transmit.cmd.impl.SIPCommander;
import com.genersoft.iot.vmp.storager.IRedisCatchStorage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
@Component
public class WVPTimerTask {
@Autowired
private IRedisCatchStorage redisCatchStorage;
@Autowired
private SipConfig sipConfig;
@Autowired
private MediaConfig mediaConfig;
@Scheduled(cron="0/2 * * * * ? ") //每3秒执行一次
public void execute(){
// redisCatchStorage.updateWVPInfo();
}
}