Merge branch 'refs/heads/master' into dev/master-通道结构重构
# Conflicts: # src/main/java/com/genersoft/iot/vmp/service/impl/PlayServiceImpl.javapull/1642/head
commit
ff5ba1698a
|
@ -80,7 +80,9 @@ public class SipLayer implements CommandLineRunner {
|
||||||
monitorIps.add(sipConfig.getIp());
|
monitorIps.add(sipConfig.getIp());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
sipConfig.setShowIp(String.join(",", monitorIps));
|
if (ObjectUtils.isEmpty(sipConfig.getShowIp())){
|
||||||
|
sipConfig.setShowIp(String.join(",", monitorIps));
|
||||||
|
}
|
||||||
SipFactory.getInstance().setPathName("gov.nist");
|
SipFactory.getInstance().setPathName("gov.nist");
|
||||||
if (monitorIps.size() > 0) {
|
if (monitorIps.size() > 0) {
|
||||||
for (String monitorIp : monitorIps) {
|
for (String monitorIp : monitorIps) {
|
||||||
|
|
|
@ -1098,12 +1098,6 @@ public class PlayServiceImpl implements IPlayService {
|
||||||
log.warn("[获取下载进度] 查询录像信息时发现节点不存在");
|
log.warn("[获取下载进度] 查询录像信息时发现节点不存在");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
SsrcTransaction ssrcTransaction = streamSession.getSsrcTransaction(deviceId, channelId, null, stream);
|
|
||||||
|
|
||||||
if (ssrcTransaction == null) {
|
|
||||||
log.warn("[获取下载进度] 下载已结束");
|
|
||||||
return null;
|
|
||||||
}
|
|
||||||
String app = "rtp";
|
String app = "rtp";
|
||||||
Long duration = mediaServerService.updateDownloadProcess(mediaServerItem, app, stream);
|
Long duration = mediaServerService.updateDownloadProcess(mediaServerItem, app, stream);
|
||||||
if (duration == null || duration == 0) {
|
if (duration == null || duration == 0) {
|
||||||
|
|
Loading…
Reference in New Issue