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_CONFIG_MASK

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    typedef struct _dd_record_config_mask_
    {
        unsigned int iSize;
        unsigned char bindAudioChannel;
        unsigned char bRedundancy;
        unsigned char recv1;
        unsigned char recv2;
        unsigned short minPreAlarmTime;
        unsigned short maxPreAlarmTime;
        unsigned short minPostAlarmTime;
        unsigned short maxPostAlarmTime;
        unsigned short minExpired;
        unsigned short maxExpired;
    } DD_RECORD_CONFIG_MASK;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct DD_RECORD_CONFIG_MASK
    {
        public UInt32 iSize;
        public byte bindAudioChannel;
        public byte bRedundancy;
        public byte recv1;
        public byte recv2;
        public UInt16 minPreAlarmTime;
        public UInt16 maxPreAlarmTime;
        public UInt16 minPostAlarmTime;
        public UInt16 maxPostAlarmTime;
        public UInt16 minExpired;
        public UInt16 maxExpired;
    }

### Function Description

This structure is (read-only) content and is used to query device support parameters.

### Member Description

Member | Type | Remark
--- | --- | ---
iSize | unsigned int | The length of this structure.
bindAudioChannel | unsigned char | Whether to support audio and video channel binding.
bRedundancy | unsigned char | Whether to support redundant recording.
recv1 | unsigned char | Reserved bytes.
recv2 | unsigned char | Reserved bytes.
minPreAlarmTime | unsigned short | Minimum pre-alarm recording time.
maxPreAlarmTime | unsigned short | Maximum pre-alarm recording time.
minPostAlarmTime | unsigned short | Minimum post-alarm recording time.
maxPostAlarmTime | unsigned short | Maximum post-alarm recording time.
minExpired | unsigned short | Minimum video data expiration time.
maxExpired | unsigned short | Maximum video data expiration time.

Error Code