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_DVR_DOWNlOAD_FRAME_INFO

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    7
    8
    9
    typedef struct _download_sdk_frame_info
    {
        unsigned int nLength;
        unsigned short frameType;
        unsigned short keyFrame;
        unsigned short nWidth;
        unsigned short nHeight;
        LONGLONG nStamp;
    } NET_DVR_DOWNlOAD_FRAME_INFO;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct NET_DVR_DOWNlOAD_FRAME_INFO
    {
        public UInt32 nLength;
        public UInt16 frameType;
        public UInt16 keyFrame;
        public UInt16 nWidth;
        public UInt16 nHeight;
        public Int64 nStamp;
    }

### Function Description

Time frame information of video download.

### Member Description

Member | Type | Remark
--- | --- | ---
nLength | unsigned int | Frame data length.
frameType | unsigned short | See `DD_FRAME_TYPE`.
keyFrame | unsigned short | 0: non-keyframe 1: keyframe.
nWidth | unsigned short | Screen width, in pixels. If it is audio data, it is 0.
nHeight | unsigned short | Picture height, or 0 if it is audio data.
nStamp | LONGLONG | Frame time, in milliseconds, absolute time starting from 0:0:0:00, January 1, 1970.

Error Code