getVideoCache

fun getVideoCache(context: Context): File

Returns the directory used for caching video bytes streamed through ExoPlayer.

Path: {cacheDir}/stream_video_cache/

Return

File pointing to the video cache directory.

Parameters

context

Android context for accessing the cache directory.