FDirectCdnStreamingStats
The statistics of the current CDN streaming.
USTRUCT(BlueprintType)
struct FDirectCdnStreamingStats {
GENERATED_BODY()
public:
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingStats")
int videoWidth = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingStats")
int videoHeight = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingStats")
int fps = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingStats")
int videoBitrate = 0;
UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|DirectCdnStreamingStats")
int audioBitrate = 0;
FDirectCdnStreamingStats(){}
FDirectCdnStreamingStats(const agora::rtc::DirectCdnStreamingStats & AgoraData){
videoWidth = AgoraData.videoWidth;
videoHeight = AgoraData.videoHeight;
fps = AgoraData.fps;
videoBitrate = AgoraData.videoBitrate;
audioBitrate = AgoraData.audioBitrate;
}
agora::rtc::DirectCdnStreamingStats CreateAgoraData() const {
agora::rtc::DirectCdnStreamingStats AgoraData;
AgoraData.videoWidth = videoWidth;
AgoraData.videoHeight = videoHeight;
AgoraData.fps = fps;
AgoraData.videoBitrate = videoBitrate;
AgoraData.audioBitrate = audioBitrate;
return AgoraData;
}
void FreeAgoraData(agora::rtc::DirectCdnStreamingStats & AgoraData) const {
}
};
Details
Attributes
- videoWidth
- The width (px) of the video frame.
- videoHeight
- The height (px) of the video frame.
- fps
- The frame rate (fps) of the current video frame.
- videoBitrate
- The bitrate (bps) of the current video frame.
- audioBitrate
- The bitrate (bps) of the current audio frame.