国标收流时流传输模式默认使用TCP被动
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user