Skip to content

NET_SDK_RECORD_STATUS_EX

Structure Definition

 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, refer to DD_VIDEO_SIZE_N9000.
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