Package io.antmedia.ipcamera
Interface IOnvifCamera
- All Known Implementing Classes:
OnvifCamera
public interface IOnvifCamera
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
disableDhcp
(String ipaddress, String netmask, String gateway) void
boolean
float
float
String[]
float
float
getTime()
boolean
boolean
moveAbsolute
(float x, float y, float zoom) Move camera absolutely in the x,y and zoom positionsboolean
moveContinous
(float x, float y, float zoom) Move camera continouslyboolean
moveRelative
(float x, float y, float zoom) Move camera relativelyboolean
moveStop()
Stop IP Camera any movementboolean
setBrightness
(float brightness) boolean
setContrast
(float contrast) boolean
setDateTime
(Date date, Time time) boolean
setFocusMode
(boolean focusmode) boolean
setSaturation
(float saturation) boolean
setSharpness
(float sharpness)
-
Method Details
-
connect
- 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
-
getTime
Date getTime() -
setDateTime
-
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 pany
- speed in tiltzoom
-- 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()
-