FCacheStatistics
Statistics about the media files being cached.
USTRUCT(BlueprintType) struct FCacheStatistics { GENERATED_BODY() public: UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CacheStatistics") int64 fileSize = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CacheStatistics") int64 cacheSize = 0; UPROPERTY(VisibleAnywhere, BlueprintReadWrite, Category = "Agora|CacheStatistics") int64 downloadSize = 0; FCacheStatistics(){} FCacheStatistics(const agora::media::base::CacheStatistics& cacheStatistics) { fileSize = cacheStatistics.fileSize; cacheSize = cacheStatistics.cacheSize; downloadSize = cacheStatistics.downloadSize; } agora::media::base::CacheStatistics CreateAgoraData() const { agora::media::base::CacheStatistics cacheStatistics; cacheStatistics.fileSize = fileSize; cacheStatistics.cacheSize = cacheSize; cacheStatistics.downloadSize = downloadSize; return cacheStatistics; } void FreeAgoraData(agora::media::base::CacheStatistics & AgoraData) const { } };
Attributes
- fileSize
- The size (bytes) of the media file being played.
- cacheSize
- The size (bytes) of the media file that you want to cache.
- downloadSize
- The size (bytes) of the media file that has been downloaded.