FPlayerPlaybackStats
The information of the media file being played.
USTRUCT(BlueprintType) struct FPlayerPlaybackStats { GENERATED_BODY() public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FPlayerPlaybackStats") int videoFps = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FPlayerPlaybackStats") int videoBitrateInKbps =0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FPlayerPlaybackStats") int audioBitrateInKbps =0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|FPlayerPlaybackStats") int totalBitrateInKbps =0; FPlayerPlaybackStats(){} FPlayerPlaybackStats(const agora::media::base::PlayerPlaybackStats& AgoraData) { videoFps = AgoraData.videoFps; videoBitrateInKbps = AgoraData.videoBitrateInKbps; audioBitrateInKbps = AgoraData.audioBitrateInKbps; totalBitrateInKbps = AgoraData.totalBitrateInKbps; } agora::media::base::PlayerPlaybackStats CreateAgoraData() const { agora::media::base::PlayerPlaybackStats AgoraData; AgoraData.videoFps = videoFps; AgoraData.videoBitrateInKbps = videoBitrateInKbps; AgoraData.audioBitrateInKbps = audioBitrateInKbps; AgoraData.totalBitrateInKbps = totalBitrateInKbps; return AgoraData; } void FreeAgoraData(agora::media::base::PlayerPlaybackStats & AgoraData) const { } };
Attributes
- videoFps
- The frame rate (fps) of the video.
- videoBitrateInKbps
- The bitrate (kbps) of the video.
- audioBitrateInKbps
- The bitrate (kbps) of the audio.
- totalBitrateInKbps
- The total bitrate (kbps) of the media stream.