|
nx_cloud_storage_sdk
1.0
Cloud Storage SDK
|
Extends BaseCameraManager by adding remote archive storage support (e.g., storage is mounted directly to camera) More...
#include <camera_plugin.h>
Public Member Functions | |
| virtual int | createDtsArchiveReader (DtsArchiveReader **dtsArchiveReader) const =0 |
| Returns not NULL if BaseCameraManager::dtsArchiveCapability is supported. More... | |
| virtual int | find (ArchiveSearchOptions *searchOptions, TimePeriods **timePeriods) const =0 |
| Find regions of archive, satisfying given conditions. More... | |
| virtual int | setMotionMask (Picture *motionMask)=0 |
| If camera plugin implements this method, it MUST report motion only on for region specified (motionMask) More... | |
Public Member Functions inherited from nxcip::BaseCameraManager | |
| virtual int | getEncoderCount (int *encoderCount) const =0 |
| Provides maximum number of available encoders. More... | |
| virtual int | getEncoder (int encoderIndex, CameraMediaEncoder **encoderPtr)=0 |
| Returns encoder by index. More... | |
| virtual int | getCameraInfo (CameraInfo *info) const =0 |
| Fills info struct with camera data. More... | |
| virtual int | getCameraCapabilities (unsigned int *capabilitiesMask) const =0 |
| Return bit set of camera capabilities (CameraCapability enumeration) More... | |
| virtual void | setCredentials (const char *username, const char *password)=0 |
| Set credentials for camera access. | |
| virtual int | setAudioEnabled (int audioEnabled)=0 |
| Turn on/off audio on ALL encoders. More... | |
| virtual CameraPtzManager * | getPtzManager () const =0 |
| MUST return not-NULL if ptzCapability is present. More... | |
| virtual CameraMotionDataProvider * | getCameraMotionDataProvider () const =0 |
| MUST return not-NULL if hardwareMotionCapability is present. More... | |
| virtual CameraRelayIOManager * | getCameraRelayIOManager () const =0 |
| MUST return not-NULL if BaseCameraManager::relayInputCapability is present. More... | |
| virtual void | getLastErrorString (char *errorString) const =0 |
| Returns text description of the last error. More... | |
Public Member Functions inherited from nxpl::PluginInterface | |
| virtual void * | queryInterface (const nxpl::NX_GUID &interfaceID)=0 |
| Cast to type, specified by interfaceID. More... | |
| virtual int | addRef () const =0 |
| Increment reference counter. More... | |
| virtual int | releaseRef () const =0 |
| Decrement reference counter. More... | |
Extends BaseCameraManager by adding remote archive storage support (e.g., storage is mounted directly to camera)
Enumeration of supported camera capabilities (bit flags)
| Enumerator | |
|---|---|
| searchByMotionMaskCapability | if present, nxcip::BaseCameraManager2::find supports ArchiveSearchOptions::motionMask() |
| motionRegionCapability | if present, nxcip::BaseCameraManager3::setMotionMask is implemented |
|
pure virtual |
Returns not NULL if BaseCameraManager::dtsArchiveCapability is supported.
Always creates new object (to allow simultaneous multiple connections to archive)
| [out] | dtsArchiveReader | Used to return archive reader on success |
|
pure virtual |
Find regions of archive, satisfying given conditions.
| [in] | searchOptions | Conditions filtering archive. Implementation MUST support filtering by ArchiveSearchOptions::startTime and ArchiveSearchOptions::endTime |
| [out] | timePeriods |
|
pure virtual |
If camera plugin implements this method, it MUST report motion only on for region specified (motionMask)
| motionMask | 8bpp (format nxcip::AV_PIX_FMT_GRAY8) picture of size (DEFAULT_MOTION_DATA_PICTURE_WIDTH, DEFAULT_MOTION_DATA_PICTURE_HEIGHT) pixels, pixel value designates motion sensitivity for pixel position. 255 - no motion for pixel coordinates(aka motion mask), 0 - maximum possible motion sensitivity. For instance: motion detection algorithm may use this value to compare absolute difference between pixels of Y plane in subsequent frames. If difference is less then value in a mask, motion is not detected. |
1.8.14