Skip to content
This SDK only works with devices released within the past 3 years. We regularly optimize and update the SDK to ensure compatibility and performance. We do not guarantee compatibility or provide technical support for devices older than 3 years.

# DD_RECORD_TYPE

### Enum Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    typedef enum _dd_record_type_
    {
        DD_RECORD_TYPE_NONE = 0x00,
        DD_RECORD_TYPE_MANUAL = 0x01,
        DD_RECORD_TYPE_SCHEDULE = 0x02,
        DD_RECORD_TYPE_MOTION = 0x04,
        DD_RECORD_TYPE_SENSOR = 0x08,
        DD_RECORD_TYPE_GSENSOR = 0x10,
        DD_RECORD_TYPE_PERSON_PERIMETER = 0x20,
        DD_RECORD_TYPE_OVERSPEED = 0x40,
        DD_RECORD_TYPE_OVERBOUND = 0x80,
        DD_RECORD_TYPE_OSC = 0x0100,
        DD_RECORD_TYPE_AVD = 0x0200,
        DD_RECORD_TYPE_TRIPWIRE = 0x0400,
        DD_RECORD_TYPE_PERIMETER = 0x0800,
        DD_RECORD_TYPE_VFD = 0x1000,
        DD_RECORD_TYPE_POS = 0x2000,
        DD_RECORD_TYPE_SMART_MOTION = 0x4000,
        DD_RECORD_TYPE_FACE_MATCH = 0x8000,
        DD_RECORD_TYPE_CPC = 0x10000,
        DD_RECORD_TYPE_CDD = 0x20000,
        DD_RECORD_TYPE_IPD = 0x40000,
        DD_RECORD_TYPE_SMART_AOI_ENTRY = 0x80000,
        DD_RECORD_TYPE_SMART_AOI_LEAVE = 0x100000,
        DD_RECORD_TYPE_VEHICLE_PERIMETER = 0x200000,
        DD_RECORD_TYPE_SMART_PLATE_MATCH = 0x400000,
        DD_RECORD_TYPE_SMART_FIRE_POINT = 0x800000,
        DD_RECORD_TYPE_TEMPERATURE_ALARAM = 0x1000000,
        DD_RECORD_TYPE_SMART_VSD = 0x2000000,
        DD_RECORD_TYPE_SMD_PERSION = 0x4000000,
        DD_RECORD_TYPE_SMD_CAR = 0x8000000,
        DD_RECORD_TYPE_ASD = 0x10000000,
        DD_RECORD_TYPE_INTELLIGENT = DD_RECORD_TYPE_CPC | DD_RECORD_TYPE_CDD | DD_RECORD_TYPE_IPD | DD_RECORD_TYPE_OSC | DD_RECORD_TYPE_AVD | DD_RECORD_TYPE_TRIPWIRE | DD_RECORD_TYPE_PERIMETER | DD_RECORD_TYPE_VFD | DD_RECORD_TYPE_SMART_MOTION | DD_RECORD_TYPE_FACE_MATCH | DD_RECORD_TYPE_SMART_AOI_ENTRY | DD_RECORD_TYPE_SMART_AOI_LEAVE | DD_RECORD_TYPE_SMART_PLATE_MATCH | DD_RECORD_TYPE_SMART_FIRE_POINT | DD_RECORD_TYPE_TEMPERATURE_ALARAM | DD_RECORD_TYPE_SMART_VSD | DD_RECORD_TYPE_VEHICLE_PERIMETER | DD_RECORD_TYPE_PERSON_PERIMETER,
        DD_RECORD_TYPE_COMBINA_DD_RECORD_TYPES = DD_RECORD_TYPE_MOTION | DD_RECORD_TYPE_SENSOR | DD_RECORD_TYPE_FACE_MATCH | DD_RECORD_TYPE_PERIMETER | DD_RECORD_TYPE_TRIPWIRE | DD_RECORD_TYPE_VEHICLE_PERIMETER | DD_RECORD_TYPE_PERSON_PERIMETER,
        DD_RECORD_TYPE_INTELLIGENT_SCHEDULE = 0xFFFFFFFF - 1,
        DD_RECORD_TYPE_ALL = 0xFFFFFFFF,
    }DD_RECORD_TYPE;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    public enum DD_RECORD_TYPE:ulong
    {
        DD_RECORD_TYPE_NONE = 0x00,
        DD_RECORD_TYPE_MANUAL = 0x01,
        DD_RECORD_TYPE_SCHEDULE = 0x02,
        DD_RECORD_TYPE_MOTION = 0x04,
        DD_RECORD_TYPE_SENSOR = 0x08,
        DD_RECORD_TYPE_GSENSOR = 0x10,
        DD_RECORD_TYPE_PERSON_PERIMETER = 0x20,
        DD_RECORD_TYPE_OVERSPEED = 0x40,
        DD_RECORD_TYPE_OVERBOUND = 0x80,
        DD_RECORD_TYPE_OSC = 0x0100,
        DD_RECORD_TYPE_AVD = 0x0200,
        DD_RECORD_TYPE_TRIPWIRE = 0x0400,
        DD_RECORD_TYPE_PERIMETER = 0x0800,
        DD_RECORD_TYPE_VFD = 0x1000,
        DD_RECORD_TYPE_POS = 0x2000,
        DD_RECORD_TYPE_SMART_MOTION = 0x4000,
        DD_RECORD_TYPE_FACE_MATCH = 0x8000,
        DD_RECORD_TYPE_CPC = 0x10000,
        DD_RECORD_TYPE_CDD = 0x20000,
        DD_RECORD_TYPE_IPD = 0x40000,
        DD_RECORD_TYPE_SMART_AOI_ENTRY = 0x80000,
        DD_RECORD_TYPE_SMART_AOI_LEAVE = 0x100000,
        DD_RECORD_TYPE_VEHICLE_PERIMETER = 0x200000,
        DD_RECORD_TYPE_SMART_PLATE_MATCH = 0x400000,
        DD_RECORD_TYPE_SMART_FIRE_POINT = 0x800000,
        DD_RECORD_TYPE_TEMPERATURE_ALARAM = 0x1000000,
        DD_RECORD_TYPE_SMART_VSD = 0x2000000,
        DD_RECORD_TYPE_SMD_PERSION = 0x4000000,
        DD_RECORD_TYPE_SMD_CAR = 0x8000000,
        DD_RECORD_TYPE_ASD = 0x10000000,
        DD_RECORD_TYPE_INTELLIGENT = DD_RECORD_TYPE_CPC | DD_RECORD_TYPE_CDD | DD_RECORD_TYPE_IPD | DD_RECORD_TYPE_OSC | DD_RECORD_TYPE_AVD | DD_RECORD_TYPE_TRIPWIRE | DD_RECORD_TYPE_PERIMETER | DD_RECORD_TYPE_VFD | DD_RECORD_TYPE_SMART_MOTION | DD_RECORD_TYPE_FACE_MATCH | DD_RECORD_TYPE_SMART_AOI_ENTRY | DD_RECORD_TYPE_SMART_AOI_LEAVE | DD_RECORD_TYPE_SMART_PLATE_MATCH | DD_RECORD_TYPE_SMART_FIRE_POINT | DD_RECORD_TYPE_TEMPERATURE_ALARAM | DD_RECORD_TYPE_SMART_VSD | DD_RECORD_TYPE_VEHICLE_PERIMETER | DD_RECORD_TYPE_PERSON_PERIMETER,
        DD_RECORD_TYPE_COMBINA_DD_RECORD_TYPES = DD_RECORD_TYPE_MOTION | DD_RECORD_TYPE_SENSOR | DD_RECORD_TYPE_FACE_MATCH | DD_RECORD_TYPE_PERIMETER | DD_RECORD_TYPE_TRIPWIRE | DD_RECORD_TYPE_VEHICLE_PERIMETER | DD_RECORD_TYPE_PERSON_PERIMETER,
        DD_RECORD_TYPE_INTELLIGENT_SCHEDULE = 0xFFFFFFFF - 1,
        DD_RECORD_TYPE_ALL = 0xFFFFFFFF,
    }

### Function Description

Video data types The video types cannot currently exceed 28

### Member Description

Enum name | Value | Remark
--- | --- | ---
DD_RECORD_TYPE_NONE | 0x00 | Null
DD_RECORD_TYPE_MANUAL | 0x01 | Manual video recording
DD_RECORD_TYPE_SCHEDULE | 0x02 | Schedule video recording
DD_RECORD_TYPE_MOTION | 0x04 | Move detection video
DD_RECORD_TYPE_SENSOR | 0x08 | Sensor video recording
DD_RECORD_TYPE_GSENSOR | 0x10 | GSENSOR
DD_RECORD_TYPE_PERSON_PERIMETER | 0x20 | Humanoid area intrusion detection. 1.4 Original definition of the main trunk - occlusion alarm DD_RECORD_TYPE_SHELTER = 0x20
DD_RECORD_TYPE_OVERSPEED | 0x40 | Speeding
DD_RECORD_TYPE_OVERBOUND | 0x80 | Crossing the line
DD_RECORD_TYPE_OSC | 0x0100 | Item care detection video
DD_RECORD_TYPE_AVD | 0x0200 | Exception detection
DD_RECORD_TYPE_TRIPWIRE | 0x0400 | Cross-border detection
DD_RECORD_TYPE_PERIMETER | 0x0800 | Area intrusion detection
DD_RECORD_TYPE_VFD | 0x1000 | Face recognition
DD_RECORD_TYPE_POS | 0x2000 | POS
DD_RECORD_TYPE_SMART_MOTION | 0x4000 | Smart mobile
DD_RECORD_TYPE_FACE_MATCH | 0x8000 | Face matching
DD_RECORD_TYPE_CPC | 0x10000 | Traffic statistics
DD_RECORD_TYPE_CDD | 0x20000 | Crowd density detection
DD_RECORD_TYPE_IPD | 0x40000 | Personnel invasion
DD_RECORD_TYPE_SMART_AOI_ENTRY | 0x80000 | Area entry
DD_RECORD_TYPE_SMART_AOI_LEAVE | 0x100000 | Area departure
DD_RECORD_TYPE_VEHICLE_PERIMETER | 0x200000 | Automobile area intrusion detection. Original definition-DD_RECORD_TYPE_SMART_PASS_LINE cross-line statistics
DD_RECORD_TYPE_SMART_PLATE_MATCH | 0x400000 | License plate comparison
DD_RECORD_TYPE_SMART_FIRE_POINT | 0x800000 | Fire point detection
DD_RECORD_TYPE_TEMPERATURE_ALARAM | 0x1000000 | Temperature detection
DD_RECORD_TYPE_SMART_VSD | 0x2000000 | Video structure
DD_RECORD_TYPE_SMD_PERSION | 0x4000000 | SMD people
DD_RECORD_TYPE_SMD_CAR | 0x8000000 | SMD car
DD_RECORD_TYPE_ASD | 0x10000000 | Sound abnormality detection
DD_RECORD_TYPE_INTELLIGENT | 0x3ffdf20 | AI
DD_RECORD_TYPE_COMBINA_DD_RECORD_TYPES | 0x208c2c | Common event video
DD_RECORD_TYPE_INTELLIGENT_SCHEDULE | 0xFFFFFFFF - 1 | Smart video scheduling configuration is dedicated, cannot be modified, and cannot be changed according to the classification of intelligent types.
DD_RECORD_TYPE_ALL | 0xFFFFFFFF | All video types

Error Code