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;