package com.iailab.netsdk.lib.structure; import com.iailab.netsdk.lib.NetSDKLib; import static com.iailab.netsdk.lib.NetSDKLib.MAX_PREVIEW_CHANNEL_NUM; /** * 获取默认真实通道号入参,对应接口 {@link NetSDKLib#CLIENT_GetDefaultRealChannel} * * @author : 47040 * @since : Created in 2020/9/28 10:06 */ public class NET_IN_GET_DEFAULT_REAL_CHANNEL extends NetSDKLib.SdkStructure { /** * 结构体大小 */ public int dwSize; /** * 需要获取的通道数 */ public int nChannelCount; /** * 逻辑通道信息,下标为将要获取的真实通道数 */ public NET_LOGIC_CHANNEL_INFO[] stuChannelInfo = new NET_LOGIC_CHANNEL_INFO[MAX_PREVIEW_CHANNEL_NUM]; public NET_IN_GET_DEFAULT_REAL_CHANNEL() { dwSize = this.size(); for (int i = 0; i < stuChannelInfo.length; i++) { stuChannelInfo[i] = new NET_LOGIC_CHANNEL_INFO(); } } }