FCodecCapLevels
The level of the codec capability.
USTRUCT(BlueprintType)
struct FCodecCapLevels {
GENERATED_BODY()
public:
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FCodecCapLevels")
FENUMWRAP_VIDEO_CODEC_CAPABILITY_LEVEL hwDecodingLevel;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FCodecCapLevels")
FENUMWRAP_VIDEO_CODEC_CAPABILITY_LEVEL swDecodingLevel;
FCodecCapLevels() {}
FCodecCapLevels(const agora::rtc::CodecCapLevels& AgoraData) {
hwDecodingLevel = AgoraData.hwDecodingLevel;
swDecodingLevel = AgoraData.swDecodingLevel;
}
agora::rtc::CodecCapLevels CreateAgoraData() const {
agora::rtc::CodecCapLevels AgoraData;
AgoraData.hwDecodingLevel = hwDecodingLevel.GetRawValue();
AgoraData.swDecodingLevel = swDecodingLevel.GetRawValue();
return AgoraData;
}
void FreeAgoraData(agora::rtc::CodecCapLevels& AgoraData) const {
}
};
Attributes
- hwDecodingLevel
- Hardware decoding capability level, which represents the device's ability to perform hardware decoding on videos of different quality. See FENUMWRAP_VIDEO_CODEC_CAPABILITY_LEVEL.
- swDecodingLevel
- Software decoding capability level, which represents the device's ability to perform software decoding on videos of different quality. See FENUMWRAP_VIDEO_CODEC_CAPABILITY_LEVEL.