You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I used this project, I used http request calls to move the PTZ. Every time I received a request, I would call new OnvifDevice() to operate. Then, because I would initiate a request to obtain device information during the object creation process, the memory overhead increased sharply when the call was frequent. Finally, I used a Map to store the objects corresponding to the devices so that each device was a singleton to reduce memory overhead. Thanks to the author , this project which provided me with great help.
The text was updated successfully, but these errors were encountered:
When I used this project, I used http request calls to move the PTZ. Every time I received a request, I would call new OnvifDevice() to operate. Then, because I would initiate a request to obtain device information during the object creation process, the memory overhead increased sharply when the call was frequent. Finally, I used a Map to store the objects corresponding to the devices so that each device was a singleton to reduce memory overhead. Thanks to the author , this project which provided me with great help.
The text was updated successfully, but these errors were encountered: