调整 ffmpeg 启动时机
This commit is contained in:
parent
2dc1f43401
commit
fd8a711662
@ -620,7 +620,7 @@ public class Gb28181DownloadService {
|
||||
subscribe.getByeSubscribe().addSubscribe(key, byeSubscriber(key, device, cacheKey, streamId, time, unit));
|
||||
return SipRequestBuilder.createAckRequest(Response.OK, ip, port, docking, device.getGbDeviceChannelId(), fromTag, toTag, callId);
|
||||
}));
|
||||
},100, TimeUnit.MILLISECONDS);
|
||||
},1000, TimeUnit.MILLISECONDS);
|
||||
} else {
|
||||
log.info("订阅 {} {} 连接流媒体服务时出现异常, 终止订阅", MessageProcessor.Method.INVITE, subscribeKey);
|
||||
zlmMediaService.closeRtpServer(new CloseRtpServer(streamId));
|
||||
|
Loading…
Reference in New Issue
Block a user