Interface IOnvifCamera

All Known Implementing Classes:
OnvifCamera

public interface IOnvifCamera
  • Method Details

    • connect

      int connect(String address, String username, String password)
      Parameters:
      address - it can be direct ip address with port or it can start with http:// or https://
      username -
      password -
      Returns:
      true if connected false if not connected
    • getProfiles

      String[] getProfiles()
      Returns:
      profile list
    • disconnect

      void disconnect()
    • getRTSPStreamURI

      String getRTSPStreamURI()
    • getAlarms

      String getAlarms()
    • enableDhcp

      boolean enableDhcp()
    • disableDhcp

      boolean disableDhcp(String ipaddress, String netmask, String gateway)
    • getTime

      Date getTime()
    • setDateTime

      boolean setDateTime(Date date, Time time)
    • setBrightness

      boolean setBrightness(float brightness)
    • getBrightness

      float getBrightness()
    • setSaturation

      boolean setSaturation(float saturation)
    • getSaturation

      float getSaturation()
    • setContrast

      boolean setContrast(float contrast)
    • getContrast

      float getContrast()
    • setSharpness

      boolean setSharpness(float sharpness)
    • getSharpness

      float getSharpness()
    • setFocusMode

      boolean setFocusMode(boolean focusmode)
      Parameters:
      focusmode - AUTO MANUAL
      Returns:
    • isFocusModeAuto

      boolean isFocusModeAuto()
    • moveStop

      boolean moveStop()
      Stop IP Camera any movement
      Returns:
    • moveContinous

      boolean moveContinous(float x, float y, float zoom)
      Move camera continously
      Parameters:
      x - speed in pan
      y - speed in tilt
      zoom -
      Returns:
      true if successful, false if failed
    • moveRelative

      boolean moveRelative(float x, float y, float zoom)
      Move camera relatively
      Parameters:
      x -
      y -
      zoom -
      Returns:
    • moveAbsolute

      boolean moveAbsolute(float x, float y, float zoom)
      Move camera absolutely in the x,y and zoom positions
      Parameters:
      x -
      y -
      zoom -
      Returns:
    • getTCPStreamURI

      String getTCPStreamURI()