FCodecCapLevels

  • Unreal Blueprint

更新时间不可用

编解码能力等级。

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。

表格内容超出当前宽度,可横向滚动查看更多列。

这个页面有帮助吗?