Class CodecCapInfo

java.lang.Object
io.agora.rtc2.video.CodecCapInfo

public class CodecCapInfo extends Object
  • Field Details

    • codecType

      public int codecType
      The video codec types: - 1: VP8 - 2: H.264. - 3: (Default) H.265.
    • codecCapMask

      public int codecCapMask
      The bit mask of the codec type: - (0): The device does not support encoding or decoding. - (1 << 0): The device supports hardware decoding. - (1 << 1): The device supports hardware encoding. - (1 << 2): The device supports software decoding. - (1 << 3): The device supports software ecoding.
    • codecLevels

      public CodecCapLevels codecLevels
      Codec capability of the SDK. See `CodecCapLevels`.
  • Constructor Details

    • CodecCapInfo

      public CodecCapInfo(int codecType, int codecCapMask, CodecCapLevels levels)
  • Method Details

    • SetCodecType

      public void SetCodecType(int codecType)
    • SetCodecCapMask

      public void SetCodecCapMask(int codecCapMask)