Skip to content

DD_RECORD_CONFIG

Structure Definition

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
typedef struct _dd_record_config_
{
    unsigned int iSize;             
    unsigned char bOnlyVideo;       
    unsigned char bWithAudio;       
    unsigned char bindAudioChannel; 
    unsigned char bRedundancy;      
    unsigned short preAlarmTime;    
    unsigned short postAlarmTime;   
    unsigned short expired;         
    unsigned short recv;            
} DD_RECORD_CONFIG;
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct DD_RECORD_CONFIG
{
    public UInt32 iSize;
    public byte bOnlyVideo;
    public byte bWithAudio;
    public byte bindAudioChannel;
    public byte bRedundancy;
    public UInt16 preAlarmTime;
    public UInt16 postAlarmTime;
    public UInt16 expired;
    public UInt16 recv;
}

Function Description

Recording configuration structure.

Member Description

Member Type Remark
iSize unsigned int The length of this structure.
bOnlyVideo unsigned char Record video (video only).
bWithAudio unsigned char Record audio (based on recording video).
bindAudioChannel unsigned char The corresponding audio channel (not necessarily the same as the video channel number).
bRedundancy unsigned char Whether to record redundantly.
preAlarmTime unsigned short Pre-police video recording time.
postAlarmTime unsigned short Post-police video recording time.
expired unsigned short The expiration time of the video recording.
recv unsigned short Reserved bytes.
Error Code