Package io.agora.rtc2.video
Class CodecCapInfo
java.lang.Object
io.agora.rtc2.video.CodecCapInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionintThe bit mask of the codec type: - (0): The device does not support encoding or decoding.Codec capability of the SDK.intThe video codec types: - 1: VP8 - 2: H.264. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSetCodecCapMask(int codecCapMask) voidSetCodecType(int codecType)
-
Field Details
-
codecType
public int codecTypeThe video codec types: - 1: VP8 - 2: H.264. - 3: (Default) H.265. -
codecCapMask
public int codecCapMaskThe 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
Codec capability of the SDK. See `CodecCapLevels`.
-
-
Constructor Details
-
CodecCapInfo
-
-
Method Details
-
SetCodecType
public void SetCodecType(int codecType) -
SetCodecCapMask
public void SetCodecCapMask(int codecCapMask)
-