修复数据错误导致无法转成JSON返回 #919

This commit is contained in:
648540858
2023-07-06 15:35:59 +08:00
parent e163cf4d20
commit e4754af417
3 changed files with 31 additions and 5 deletions

View File

@@ -244,6 +244,9 @@ public class Device {
}
public Integer getStreamModeForParam() {
if (streamMode == null) {
return 0;
}
if (streamMode.equalsIgnoreCase("UDP")) {
return 0;
}else if (streamMode.equalsIgnoreCase("TCP-PASSIVE")) {