异常时 结束 trying
This commit is contained in:
parent
e4fec4f2d5
commit
3037c315a3
@ -477,6 +477,9 @@ public class DeviceProxyService {
|
|||||||
subscribe.getByeSubscribe().addPublisher(key);
|
subscribe.getByeSubscribe().addPublisher(key);
|
||||||
subscribe.getByeSubscribe().addSubscribe(key, subscriber);
|
subscribe.getByeSubscribe().addSubscribe(key, subscriber);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
|
// 停止发送 trying
|
||||||
|
schedule.cancel(true);
|
||||||
|
|
||||||
log.error("zlm 代理拉流失败",e);
|
log.error("zlm 代理拉流失败",e);
|
||||||
sendBye(request, device, "");
|
sendBye(request, device, "");
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user