onvif-java-lib icon indicating copy to clipboard operation
onvif-java-lib copied to clipboard

Concurrent calls to onvifdevice instance.

Open YassineElyk opened this issue 7 years ago • 3 comments

Hi,

I would like to know if OnvifDevice methods can be called by multiple threads safely?

Thank you.

YassineElyk avatar Jan 19 '19 10:01 YassineElyk

You should do some adjustments for thread safety. I did not ensure that.

milg0 avatar Jan 19 '19 11:01 milg0

Alright thanks, maybe I'll look into that.

YassineElyk avatar Jan 20 '19 00:01 YassineElyk

Hi, it takes 1.5 seconds for a single thread to acquire a camera ptz, and it takes 4.5 seconds for 3 threads to acquire three cameras ptzs. Can it be upgraded to 1.5 seconds? thanks.

tangwwwwwwwww avatar Apr 03 '19 08:04 tangwwwwwwwww