Skip to content

DD_LIVE_VIDEO_GROUP

Structure Definition

1
2
3
4
5
6
7
typedef struct _dd_live_video_group_
{
    unsigned short holdTime;                  
    unsigned short channelNum;                
    unsigned int splitMode;                   
    unsigned char channel[DD_MAX_CAMERA_NUM]; 
} DD_LIVE_VIDEO_GROUP;
1
2
3
4
5
6
7
8
9
[StructLayout(LayoutKind.Sequential, Pack = 4)]
public struct DD_LIVE_VIDEO_GROUP
{
    public UInt16 holdTime;
    public UInt16 channelNum;
    public UInt32 splitMode;
    [MarshalAs(UnmanagedType.ByValArray, ArraySubType = UnmanagedType.U1, SizeConst = 128)]
    public byte[] channel;
}

Function Description

Preview video group structure.

Member Description

Member Type Remark
holdTime unsigned short Dwell time (seconds), zero means invalid.
channelNum unsigned short Number of valid channels (read-only).
splitMode unsigned int Split mode, refer to DD_VIEW_SPLIT_MODE for the value.
channel unsigned char[DD_MAX_CAMERA_NUM] The channel number corresponding to each area. The array subscript represents the channel number, the element value represents the form area number, and 0xff means that the channel is invalid.
Error Code