FCodecCapLevels
编解码能力等级。
C++
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 {
}
};
hwDecodingLevel
硬件解码能力等级,表示设备能够对不同品质视频进行硬件解码的能力。详见 FENUMWRAP_VIDEO_CODEC_CAPABILITY_LEVEL。
swDecodingLevel
软件解码能力等级,表示设备能够对不同品质视频进行软件解码的能力。详见 FENUMWRAP_VIDEO_CODEC_CAPABILITY_LEVEL。