异常时 结束 trying

This commit is contained in:
shikong 2024-01-23 14:04:18 +08:00
parent e4fec4f2d5
commit 3037c315a3

View File

@ -477,6 +477,9 @@ public class DeviceProxyService {
subscribe.getByeSubscribe().addPublisher(key);
subscribe.getByeSubscribe().addSubscribe(key, subscriber);
} catch (Exception e) {
// 停止发送 trying
schedule.cancel(true);
log.error("zlm 代理拉流失败",e);
sendBye(request, device, "");
}