# CodecCapInfo (/zh-CN/api-reference/rtc/android/class-codeccapinfo)
> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).
```java
public class CodecCapInfo {
public int codecType;
public int codecCapMask;
public CodecCapLevels codecLevels;
}
```
## 属性 [#属性]
视频编解码类型:
- 1:VP8。
- 2:H.264。
- 3:(默认)H.265。
编解码类型的位掩码:
- (0):设备不支持编码或解码。
- (1 << 0):设备支持硬件解码。
- (1 << 1):设备支持硬件编码。
- (1 << 2):设备支持软件解码。
- (1 << 3):设备支持软件编码。
编解码能力。详见 [CodecCapLevels](/zh-CN/api-reference/rtc/android/class-codeccaplevels)。