onPlayerCacheStats
Reports the statistics of the media file being cached.
virtual void onPlayerCacheStats(const media::base::CacheStatistics& stats) {
(void)stats;
}
Details
After you call the openWithMediaSource method and set enableCache as true, the SDK triggers this callback once per second to report the statistics of the media file being cached.
Parameters
- stats
- The statistics of the media file being cached. See CacheStatistics.