FVideoFormat
The format of the video frame.
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 { } };
Attributes
- width
- The width (px) of the video frame. The default value is 960.
- height
- The height (px) of the video frame. The default value is 540.
- fps
- The video frame rate (fps). The default value is 15.