onPlayerCacheStats
Reports statistics of the media file being cached.
virtual void onPlayerCacheStats(const media::base::CacheStatistics& stats)
After calling the openWithMediaSource method and setting enableCache to true, the SDK triggers this callback once per second to report statistics of the media file being cached.
Parameters
- stats
- Statistics of the media file cache. See CacheStatistics.