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_TYPE

### Enum Definition

C++C#

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    typedef enum _dd_frame_type_
    {
        DD_FRAME_TYPE_NONE = 0x00,
        DD_FRAME_TYPE_VIDEO = 0x01,
        DD_FRAME_TYPE_AUDIO = 0x02,
        DD_FRAME_TYPE_TALK_AUDIO = 0x03,
        DD_FRAME_TYPE_JPEG = 0x04,
        DD_FRAME_TYPE_VIDEO_FORMAT = 0x05,
        DD_FRAME_TYPE_AUDIO_FORMAT = 0x06,
        DD_FRAME_TYPE_TALK_AUDIO_FORMAT = 0x07,
        DD_FRAME_TYPE_RESV1 = 0x08,
        DD_FRAME_TYPE_RESV2 = 0x09,
        DD_FRAME_TYPE_END = 0x0a,
    } DD_FRAME_TYPE;

     1
     2
     3
     4
     5
     6
     7
     8
     9
    10
    11
    12
    13
    14
    public enum DD_FRAME_TYPE
    {
        DD_FRAME_TYPE_NONE = 0x00,
        DD_FRAME_TYPE_VIDEO = 0x01,
        DD_FRAME_TYPE_AUDIO = 0x02,
        DD_FRAME_TYPE_TALK_AUDIO = 0x03,
        DD_FRAME_TYPE_JPEG = 0x04,
        DD_FRAME_TYPE_VIDEO_FORMAT = 0x05,
        DD_FRAME_TYPE_AUDIO_FORMAT = 0x06,
        DD_FRAME_TYPE_TALK_AUDIO_FORMAT = 0x07,
        DD_FRAME_TYPE_RESV1 = 0x08,
        DD_FRAME_TYPE_RESV2 = 0x09,
        DD_FRAME_TYPE_END = 0x0a,
    }

### Function Description

Video frame type.

### Member Description

Enum name | Value | Remark
--- | --- | ---
DD_FRAME_TYPE_NONE | 0x00 | Empty type data frame.
DD_FRAME_TYPE_VIDEO | 0x01 | Video data frame.
DD_FRAME_TYPE_AUDIO | 0x02 | Audio data frame.
DD_FRAME_TYPE_TALK_AUDIO | 0x03 | Intercom audio data frame.
DD_FRAME_TYPE_JPEG | 0x04 | JPEG image stream data frame.
DD_FRAME_TYPE_VIDEO_FORMAT | 0x05 | Video format frame.
DD_FRAME_TYPE_AUDIO_FORMAT | 0x06 | Audio format frame.
DD_FRAME_TYPE_TALK_AUDIO_FORMAT | 0x07 | Intercom audio format frame.
DD_FRAME_TYPE_RESV1 | 0x08 | Reserve.
DD_FRAME_TYPE_RESV2 | 0x09 | Reserve.
DD_FRAME_TYPE_END | 0x0a | End mark.

Error Code