-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Description
在代码中有默认视频缓存是512M,现在我想设置成4个G,结果没有生效
public static int DEFAULT_MAX_SIZE = 512 * 1024 * 1024;
我是在Apllication 初始化播放器SDK时设置的:
ProxyCacheManager.DEFAULT_MAX_SIZE = 512 * 8 * 1024 * 1024;
//EXOPlayer内核,支持格式更多
// PlayerFactory.setPlayManager(Exo2PlayerManager.class);
//系统内核模式
// PlayerFactory.setPlayManager(SystemPlayerManager.class);
//ijk内核,默认模式
PlayerFactory.setPlayManager(IjkPlayerManager.class);
//exo缓存模式,支持m3u8,只支持exo
// CacheFactory.setCacheManager(ExoPlayerCacheManager.class);
//代理缓存模式,支持所有模式,不支持m3u8等,默认
CacheFactory.setCacheManager(ProxyCacheManager.class);
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels