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_PTZ_PROTOCOL_INFO

### Structure Definition

C++C#

    1
    2
    3
    4
    5
    6
    typedef struct _dd_ptz_protocol_info
    {
        unsigned int protocolID;
        unsigned int protocolProperty;
        char ProtocolName[64];
    } DD_PTZ_PROTOCOL_INFO;

    1
    2
    3
    4
    5
    6
    7
    8
    [StructLayout(LayoutKind.Sequential, Pack = 4)]
    public struct DD_PTZ_PROTOCOL_INFO
    {
        public UInt32 protocolID;
        public UInt32 protocolProperty;
        [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 64)]
        public byte[] ProtocolName;
    }

### Function Description

PTZ protocol information structure.

### Member Description

Member | Type | Remark
--- | --- | ---
protocolID | unsigned int | Corresponding protocol type ID.
protocolProperty | unsigned int | The MASK of other attributes supported besides ID and baud rate, such as whether to support special attributes such as trajectory.
ProtocolName | char[64] | Protocol name.

Error Code