添加推流重试 最多执行 3次 每次间隔3秒
This commit is contained in:
parent
8624bc5db9
commit
a0aaa3b190
@ -118,6 +118,8 @@ public class DeviceProxyService {
|
|||||||
return startSendRtpResp;
|
return startSendRtpResp;
|
||||||
});
|
});
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
Optional.ofNullable(zlmStreamChangeHookService.getUnregistHandler().remove(callId))
|
||||||
|
.ifPresent(ZlmStreamChangeHookService.ZlmStreamChangeHookHandler::handler);
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -174,6 +176,8 @@ public class DeviceProxyService {
|
|||||||
return startSendRtpResp;
|
return startSendRtpResp;
|
||||||
});
|
});
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
Optional.ofNullable(zlmStreamChangeHookService.getUnregistHandler().remove(callId))
|
||||||
|
.ifPresent(ZlmStreamChangeHookService.ZlmStreamChangeHookHandler::handler);
|
||||||
throw new RuntimeException(e);
|
throw new RuntimeException(e);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user