typedef struct tagCameraDesc
{
CAMERA_MODEL model;
CAMERA_CONNECT_MODE mode;
const char * id;
const char * alias;
const char * host;
unsigned short port;
unsigned char ssl;
const char * user;
const char * pwd;
const char * key;
} CAMERA_DESC;
CAMERA_DESC type is used to describe the camera property in registering the camera
| Member | Expain |
| model | Camera model |
| mode | Camera connection mode |
| id | Camera ID. If set to NULL, the camera won't check whether ID does match in connecting; otherwise, if the ID does not match ,return an error. |
| alias | Camera alias, could set to NULL |
| host | The camera host address, can be set to IP address or DNS domain name |
| port | Camera port |
| ssl | Preserved |
| user | Account id |
| pwd | Account password |
| key | Camera key in connection,usually set to NULL |