diff --git a/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java b/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java index a417bf1..5278d92 100644 --- a/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java +++ b/gb28181-mocking-service/src/main/java/cn/skcks/docking/gb28181/mocking/service/device/DeviceProxyService.java @@ -157,11 +157,12 @@ public class DeviceProxyService { stopSendRtp.setApp(DEFAULT_ZLM_APP); stopSendRtp.setStream(callId); stopSendRtp.setSsrc(ssrc); + sendBye(request,device,key); }, 5, TimeUnit.SECONDS); }); - zlmStreamNoneReaderHookService.getHandler(DEFAULT_ZLM_APP).put(callId,()->{ - sendBye(request,device,key); - }); +// zlmStreamNoneReaderHookService.getHandler(DEFAULT_ZLM_APP).put(callId,()->{ +// sendBye(request,device,key); +// }); } private Flow.Subscriber ffmpegTask(SIPRequest request,ConcurrentHashMap tasks, String callId, String key, MockingDevice device){