提高 推流重试次数

This commit is contained in:
shikong 2024-03-14 01:15:25 +08:00
parent 9914186862
commit aa327ace86

View File

@ -126,7 +126,7 @@ public class DeviceProxyService {
// 重试间隔
.withWaitStrategy(WaitStrategies.fixedWait(1, TimeUnit.MILLISECONDS))
// 重试次数
.withStopStrategy(StopStrategies.stopAfterAttempt(3000))
.withStopStrategy(StopStrategies.stopAfterAttempt(10 * 1000))
.build();
zlmPublishHookService.getHandler(DEFAULT_ZLM_APP).put(callId,()->{
scheduledExecutorService.submit(()->{