优化录像下载流程
parent
4e6f7f8385
commit
b7d671e6d9
|
@ -1087,12 +1087,6 @@ public class PlayServiceImpl implements IPlayService {
|
|||
logger.warn("[获取下载进度] 查询录像信息时发现节点不存在");
|
||||
return null;
|
||||
}
|
||||
SsrcTransaction ssrcTransaction = streamSession.getSsrcTransaction(deviceId, channelId, null, stream);
|
||||
|
||||
if (ssrcTransaction == null) {
|
||||
logger.warn("[获取下载进度] 下载已结束");
|
||||
return null;
|
||||
}
|
||||
String app = "rtp";
|
||||
Long duration = mediaServerService.updateDownloadProcess(mediaServerItem, app, stream);
|
||||
if (duration == null || duration == 0) {
|
||||
|
|
Loading…
Reference in New Issue