调整 推流重试次数

This commit is contained in:
zxb 2024-03-14 01:19:49 +08:00
parent 1e833d087d
commit 55977b4a5e

View File

@ -216,7 +216,7 @@ public class AckRequestProcessor extends SIPRequestProcessorParent implements In
// 重试间隔
.withWaitStrategy(WaitStrategies.fixedWait(1, TimeUnit.MILLISECONDS))
// 重试次数
.withStopStrategy(StopStrategies.stopAfterAttempt(10 * 1000))
.withStopStrategy(StopStrategies.stopAfterAttempt(5 * 1000))
.build();
try {
startSendRtpStreamResult = retryer.call(() -> zlmServerFactory.startSendRtpStream(mediaInfo, param));