Error sending PTZ command
  • I am using a web cam Dlink DCS-5020L with a Applescript with PTZ command to rotate the web cam in a loop from preset position 1 to 8 and from 8 to 1, sometimes I get this error message from SSPY:
    Error sending PTZ command for camera "internal-1-17" 3.4.8,4405,48 Address already in use (EADDRINUSE)
    for each position there is a delay of 10 sec:
    repeat
    tell application "SecuritySpy348"
    ptz preset1 camera number 3
    delay 10
    ptz preset2 camera number 3
    delay 10
    ptz preset3 camera number 3
    delay 10
    ptz preset4 camera number 3
    delay 10
    ptz preset5 camera number 3
    delay 10
    ptz preset6 camera number 3
    delay 10
    ptz preset7 camera number 3
    delay 10
    ptz preset8 camera number 3
    delay 10
    ptz preset7 camera number 3
    delay 10
    ptz preset6 camera number 3
    delay 10
    ptz preset5 camera number 3
    delay 10
    ptz preset4 camera number 3
    delay 10
    ptz preset3 camera number 3
    delay 10
    ptz preset2 camera number 3
    delay 10
    end tell
    end repeat
    suggestions to clear the error, or prevent it?

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!