Sign in

guzijian / wvp-GB28181-pro · Files

GitLab

  • Go to dashboard
  • Project
  • Activity
  • Files
  • Commits
  • Builds 0
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • wvp-GB28181-pro
  • ..
  • conf
  • MediaStatusTimerTask.java
  • 升级Fastjson到Fastjson2
    ab909fee
    WuPeng authored
    2022-11-05 20:49:56 +0800  
    Browse Code »
MediaStatusTimerTask.java 278 Bytes
Edit Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
package com.genersoft.iot.vmp.conf;

import org.springframework.scheduling.annotation.Scheduled;

/**
 * 定时向zlm同步媒体流状态
 */
public class MediaStatusTimerTask {


    @Scheduled(fixedRate = 2 * 1000)   //每3秒执行一次
    public void execute(){

    }
}