FVideoFormat

  • Unreal Blueprint

更新时间不可用

视频帧格式。

C++
USTRUCT(BlueprintType)
struct FVideoFormat {
	GENERATED_BODY()
public:
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoFormat")
	int width = 640;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoFormat")
	int height = 360;
	UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|VideoFormat")
	int fps = 15;
	FVideoFormat(){}
	FVideoFormat(const agora::rtc::VideoFormat & AgoraData){
		width = AgoraData.width;
		height = AgoraData.height;
		fps = AgoraData.fps;
	}
	agora::rtc::VideoFormat CreateAgoraData() const {
		agora::rtc::VideoFormat AgoraData;
		AgoraData.width = width;
		AgoraData.height = height;
		AgoraData.fps = fps;
		return AgoraData;
	}
	void FreeAgoraData(agora::rtc::VideoFormat& AgoraData) const {
	}
};

属性

参数名描述
width

视频帧的宽度(px)。默认值为 960。

height

视频帧的高度(px)。默认值为 540.

fps

视频帧的帧率。默认值为 15。

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

这个页面有帮助吗?