Agora Java API Reference for Android

Public Member Functions | Public Attributes | List of all members
io.agora.rtc2.video.CodecCapInfo Class Reference

## Public Member Functions
| CodecCapInfo (int codecType, int codecCapMask, CodecCapLevels levels)
void | SetCodecType (int codecType)
void | SetCodecCapMask (int codecCapMask)

## Public Attributes
int | codecType
int | codecCapMask
CodecCapLevels | codecLevels

## Member Data Documentation

## ◆ codecType

int io.agora.rtc2.video.CodecCapInfo.codecType

The codec type.

## ◆ codecCapMask

int io.agora.rtc2.video.CodecCapInfo.codecCapMask

The codec type mask. bit 1 Hardware decoder support flag, bit 2: Hardware encoder support flag, bit 3: Software decoder support flag, bit 4: Software encoder support flag

## ◆ codecLevels

CodecCapLevels io.agora.rtc2.video.CodecCapInfo.codecLevels

The codec capability level, estimated based on the device hardware.