提高 推流重试次数
This commit is contained in:
parent
19524e9289
commit
1e833d087d
@ -216,7 +216,7 @@ public class AckRequestProcessor extends SIPRequestProcessorParent implements In
|
|||||||
// 重试间隔
|
// 重试间隔
|
||||||
.withWaitStrategy(WaitStrategies.fixedWait(1, TimeUnit.MILLISECONDS))
|
.withWaitStrategy(WaitStrategies.fixedWait(1, TimeUnit.MILLISECONDS))
|
||||||
// 重试次数
|
// 重试次数
|
||||||
.withStopStrategy(StopStrategies.stopAfterAttempt(3000))
|
.withStopStrategy(StopStrategies.stopAfterAttempt(10 * 1000))
|
||||||
.build();
|
.build();
|
||||||
try {
|
try {
|
||||||
startSendRtpStreamResult = retryer.call(() -> zlmServerFactory.startSendRtpStream(mediaInfo, param));
|
startSendRtpStreamResult = retryer.call(() -> zlmServerFactory.startSendRtpStream(mediaInfo, param));
|
||||||
|
Loading…
Reference in New Issue
Block a user