KTVHTTPCache icon indicating copy to clipboard operation
KTVHTTPCache copied to clipboard

Precache some of the urls

Open mdeora opened this issue 4 years ago • 1 comments

Currently there is no provision to precache some urls before they are used.

mdeora avatar Jun 24 '20 15:06 mdeora

In addition it would be nice if we can precache only specific range of the media. For example precaching a Mb for a file that is 20mb in length so we can start playback with AVplayer instantly when we play the file..

arvkmr avatar Jul 23 '20 16:07 arvkmr

Use this API to precache.

/**
 *  Create the data loader for the request.
 *
 *  @param request : The request of the expected data.
 *  @return The data loader for request.
 */
+ (KTVHCDataLoader *)cacheLoaderWithRequest:(KTVHCDataRequest *)request;

libobjc avatar Jan 07 '24 10:01 libobjc