| | |
| | | import com.genersoft.iot.vmp.conf.DynamicTask; |
| | | import com.genersoft.iot.vmp.conf.RedisKeyExpirationEventMessageListener; |
| | | import com.genersoft.iot.vmp.conf.UserSetup; |
| | | import com.genersoft.iot.vmp.gb28181.event.EventPublisher; |
| | | import org.checkerframework.checker.units.qual.A; |
| | | import org.slf4j.Logger; |
| | | import org.slf4j.LoggerFactory; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | |
| | | String PLATFORM_KEEPLIVEKEY_PREFIX = VideoManagerConstants.SIP_SUBSCRIBE_PREFIX + userSetup.getServerId() + "_"; |
| | | if (expiredKey.startsWith(PLATFORM_KEEPLIVEKEY_PREFIX)) { |
| | | // 取消定时任务 |
| | | dynamicTask.stopCron(expiredKey); |
| | | dynamicTask.stop(expiredKey); |
| | | } |
| | | } |
| | | } |