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.

# NET_SDK_RECORD_STATUS_EX

### Structure Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    typedef struct _net_sdk_record_status_ex
    {
        char deviceName[128];
        DWORD dwRecordType;
        DWORD dwChannel;
        DWORD dwRecordStatus;
        DWORD dwStreamType;
        DWORD dwResolution;
        DWORD dwFrameRate;
        DWORD dwQuality;
        DWORD dwBitType;
        DWORD dwLevel;
    } NET_SDK_RECORD_STATUS_EX;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_SDK_RECORD_STATUS_EX
    {
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 128)]
        public byte[] deviceName;
        public UInt32 dwRecordType;
        public UInt32 dwChannel;
        public UInt32 dwRecordStatus;
        public UInt32 dwStreamType;
        public UInt32 dwResolution;
        public UInt32 dwFrameRate;
        public UInt32 dwQuality;
        public UInt32 dwBitType;
        public UInt32 dwLevel;
    }

### Function Description

Recording status structure.

### Member Description

Member | Type | Remark
--- | --- | ---
deviceName | char[128] | The name of the device.
dwRecordType | DWORD | Recording event type, refer to `DD_RECORD_TYPE`.
dwChannel | DWORD | Video channel number, starting from 0.
dwRecordStatus | DWORD | Recording status, refer to `DD_RECORD_STATUS`.
dwStreamType | DWORD | Video stream, refer to `NET_SDK_STREAM_TYPE`.
dwResolution | DWORD | Video resolution, high 16 bits means wide, low 16 bits means high.
dwFrameRate | DWORD | Video frame rate.
dwQuality | DWORD | Bitrate limit /Kbps.
dwBitType | DWORD | Bitrate type, refer to `DD_VIDEO_ENCODE_MODE`.
dwLevel | DWORD | Image quality, see `DD_IMAGE_QUALITY`.

Error Code