当前位置:网站首页>Troubleshooting and resolution of errors in easycvr calling batch deletion interface

Troubleshooting and resolution of errors in easycvr calling batch deletion interface

2022-06-24 03:15:00 Tsingsee green rhino video

EasyCVR As a fully functional video structured intelligent analysis platform , Support video stream output of multiple protocols , It can also support voice intercom , As long as the front-end device has voice function , Users can go through EasyCVR To make a space call . meanwhile EasyCVR Many interfaces are open for everyone to call , For example, add channels in batch or delete channels in batch , You can complete the operation more conveniently with the help of the interface .

We're calling EasyCVR When deleting interfaces in batch , An error message was returned “ Error in delete ”, The returned content is as follows :

We checked the problem , It is found that there is no... In the equipment ID by 168、167 The passage of the , After calling batch delete, the actual channel has been deleted .

Tests found , Deleting a channel that no longer exists is the same error message , However, whether the deletion succeeds or fails, it is impossible to know whether the operation is successful , This feedback is not clear enough for the operation and maintenance personnel , So we need to make changes .

Find the batch deletion interface under the software and add the following code , When deleting a failed channel , Return failed ID, Inform the user that those channels failed to be deleted . If it is successful, it will directly return to success .

The successful preview interface is shown below :

The failed preview interface is shown below :

原网站

版权声明
本文为[Tsingsee green rhino video]所创,转载请带上原文链接,感谢
https://yzsam.com/2021/10/20211014153207048u.html

随机推荐