国标收流时流传输模式默认使用TCP被动

This commit is contained in:
648540858
2025-01-12 22:24:47 +08:00
parent e139676151
commit 464c989986
3 changed files with 4 additions and 4 deletions

View File

@@ -443,7 +443,7 @@ public class DeviceServiceImpl implements IDeviceService {
device.setCreateTime(DateUtil.getNow());
device.setUpdateTime(DateUtil.getNow());
if(device.getStreamMode() == null) {
device.setStreamMode("UDP");
device.setStreamMode("TCP-PASSIVE");
}
deviceMapper.addCustomDevice(device);
}