getMediaPlayerCacheManager

Gets an IMediaPlayerCacheManager instance.

AGORA_API agora::rtc::IMediaPlayerCacheManager* AGORA_CALL getMediaPlayerCacheManager();

Before calling any API in IMediaPlayerCacheManager, you need to call this method to get the media player cache manager instance.

Note: IMediaPlayerCacheManager uses the singleton pattern, so multiple calls to this method return the same instance.

Timing

Call timing: Make sure to initialize IRtcEngine before calling this method.

Return Values