|
|
@@ -213,8 +213,7 @@ public class ONVIFServerIMpl implements IONVIFServer {
|
|
|
param.put("force",1);
|
|
|
JSONObject jsonObject=getCommonRecord(mediaServerItem,param);
|
|
|
Integer code=jsonObject.getInteger("code");
|
|
|
- Integer result=jsonObject.getInteger("result");
|
|
|
- if(code==0 && result==0){
|
|
|
+ if(code==0){
|
|
|
return true;
|
|
|
}
|
|
|
return false;
|