修复数据错误导致无法转成JSON返回 #919
This commit is contained in:
@@ -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")) {
|
||||
|
||||
Reference in New Issue
Block a user