提交 | 用户 | 时间
|
149dd0
|
1 |
package com.iailab.netsdk.lib.structure; |
H |
2 |
|
|
3 |
import com.iailab.netsdk.lib.NetSDKLib; |
|
4 |
|
7412dd
|
5 |
import static com.iailab.netsdk.lib.NetSDKLib.MAX_PREVIEW_CHANNEL_NUM; |
149dd0
|
6 |
|
H |
7 |
/** |
|
8 |
* 获取默认真实通道号入参,对应接口 {@link NetSDKLib#CLIENT_GetDefaultRealChannel} |
|
9 |
* |
|
10 |
* @author : 47040 |
|
11 |
* @since : Created in 2020/9/28 10:06 |
|
12 |
*/ |
|
13 |
public class NET_IN_GET_DEFAULT_REAL_CHANNEL extends NetSDKLib.SdkStructure { |
|
14 |
/** |
|
15 |
* 结构体大小 |
|
16 |
*/ |
|
17 |
public int dwSize; |
|
18 |
/** |
|
19 |
* 需要获取的通道数 |
|
20 |
*/ |
|
21 |
public int nChannelCount; |
|
22 |
/** |
|
23 |
* 逻辑通道信息,下标为将要获取的真实通道数 |
|
24 |
*/ |
|
25 |
public NET_LOGIC_CHANNEL_INFO[] stuChannelInfo = new NET_LOGIC_CHANNEL_INFO[MAX_PREVIEW_CHANNEL_NUM]; |
|
26 |
|
|
27 |
public NET_IN_GET_DEFAULT_REAL_CHANNEL() { |
|
28 |
dwSize = this.size(); |
|
29 |
for (int i = 0; i < stuChannelInfo.length; i++) { |
|
30 |
stuChannelInfo[i] = new NET_LOGIC_CHANNEL_INFO(); |
|
31 |
} |
|
32 |
} |
|
33 |
} |