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_FRAME_ATTRIB

### Enum Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    typedef enum _dd_frame_attrib_
    {
        DD_PLAY_FRAME_NO_SHOW = 0x01,
        DD_PLAY_FRAME_SHOW = 0x02,
        DD_PLAY_FRAME_ALL_END = 0x04,
        DD_PLAY_FRAME_SEC_END = 0x08,
        DD_PLAY_FRAME_NO_TIME_STAMP = 0x10,
        DD_PLAY_FRAME_FF = 0x20,
        DD_LIVE_FRAME_FIRST_STREAM = 0x40,
        DD_LIVE_FRAME_SECOND_STREAM = 0x80,
        DD_LIVE_FRAME_JPEG = 0x100,
        DD_LIVE_FRAME_TALK = 0x200,
        DD_LIVE_FRAME_THIRD_STREAM = 0x400,
        DD_LIVE_FRAME_FOURTH_STREAM = 0x800,
    } DD_FRAME_ATTRIB;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    15
    public enum DD_FRAME_ATTRIB
    {
        DD_PLAY_FRAME_NO_SHOW = 0x01,
        DD_PLAY_FRAME_SHOW = 0x02,
        DD_PLAY_FRAME_ALL_END = 0x04,
        DD_PLAY_FRAME_SEC_END = 0x08,
        DD_PLAY_FRAME_NO_TIME_STAMP = 0x10,
        DD_PLAY_FRAME_FF = 0x20,
        DD_LIVE_FRAME_FIRST_STREAM = 0x40,
        DD_LIVE_FRAME_SECOND_STREAM = 0x80,
        DD_LIVE_FRAME_JPEG = 0x100,
        DD_LIVE_FRAME_TALK = 0x200,
        DD_LIVE_FRAME_THIRD_STREAM = 0x400,
        DD_LIVE_FRAME_FOURTH_STREAM = 0x800,
    }

### Function Description

Video frame properties.

### Member Description

Enum name | Value | Remark
--- | --- | ---
DD_PLAY_FRAME_NO_SHOW | 0x01 | This frame is not displayed.
DD_PLAY_FRAME_SHOW | 0x02 | This frame is displayable.
DD_PLAY_FRAME_ALL_END | 0x04 | The data reading is finished, and there is no more data.
DD_PLAY_FRAME_SEC_END | 0x08 | This event segment is over.
DD_PLAY_FRAME_NO_TIME_STAMP | 0x10 | This frame of data has a timestamp. When capturing images, be sure to disable the time stamping function.
DD_PLAY_FRAME_FF | 0x20 | The current frame is used for fast forward.
DD_LIVE_FRAME_FIRST_STREAM | 0x40 | This frame is the live main stream.
DD_LIVE_FRAME_SECOND_STREAM | 0x80 | This frame is the live sub-stream.
DD_LIVE_FRAME_JPEG | 0x100 | This frame is a JPEG picture.
DD_LIVE_FRAME_TALK | 0x200 | This frame is intercom voice data.
DD_LIVE_FRAME_THIRD_STREAM | 0x400 | This frame is the third live stream.
DD_LIVE_FRAME_FOURTH_STREAM | 0x800 | This frame is the fourth live stream.

Error Code