FCodecCapInfo
The codec capability of the SDK.
USTRUCT(BlueprintType) struct FCodecCapInfo { GENERATED_BODY() public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CodecCapInfo") EVIDEO_CODEC_TYPE codecType = EVIDEO_CODEC_TYPE::VIDEO_CODEC_NONE; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CodecCapInfo") int codecCapMask = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CodecCapInfo") FCodecCapLevels codecLevels; FCodecCapInfo(){} FCodecCapInfo(const agora::rtc::CodecCapInfo & AgoraData){ codecType = static_cast<EVIDEO_CODEC_TYPE>(AgoraData.codecType); codecCapMask = AgoraData.codecCapMask; codecLevels = AgoraData.codecLevels; } agora::rtc::CodecCapInfo CreateAgoraData() const { agora::rtc::CodecCapInfo AgoraData; AgoraData.codecType = static_cast<agora::rtc::VIDEO_CODEC_TYPE>(codecType); AgoraData.codecCapMask = codecCapMask; AgoraData.codecLevels = codecLevels.CreateAgoraData(); return AgoraData; } void FreeAgoraData(agora::rtc::CodecCapInfo& AgoraData) const { codecLevels.FreeAgoraData(AgoraData.codecLevels); } };
Attributes
- codecType
- The video codec types. See EUABT_VIDEO_CODEC_TYPE.
- 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
- Codec capability of the SDK. See FCodecCapLevels.