Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在列表中显式的配置缓存,发生异常 java.lang.IllegalStateException: Another SimpleCache instance uses the folder: /storage/emulated/0/Android/data/chuangyuan.xiangjiang.yjplay/files/ #298

Open
renzhenming opened this issue Jul 13, 2020 · 3 comments

Comments

@renzhenming
Copy link

在列表中这样获取播放器,设置缓存,崩溃

userPlayer = new VideoPlayerManager
.Builder(VideoPlayerManager.TYPE_PLAY_USER, playerView)
.setDataSource(new OfficeDataSource(context, null))
.setTitle("视频标题")
.create();

如果在列表中使用的时候,不做这个配置,是不是就没有缓存?
userPlayer = new VideoPlayerManager.Builder(VideoPlayerManager.TYPE_PLAY_USER,playerView).create();

如果是,那么怎么在列表中使用缓存?

@renzhenming renzhenming changed the title 在列表中显示的配置缓存,发生异常 java.lang.IllegalStateException: Another SimpleCache instance uses the folder: /storage/emulated/0/Android/data/chuangyuan.xiangjiang.yjplay/files/ 在列表中显式的配置缓存,发生异常 java.lang.IllegalStateException: Another SimpleCache instance uses the folder: /storage/emulated/0/Android/data/chuangyuan.xiangjiang.yjplay/files/ Jul 13, 2020
@yangchaojiang
Copy link
Owner

列表 不支持哦 exo内容加了锁的 只能存在一个实例

@Danniel-yan
Copy link

列表 不支持哦 exo内容加了锁的 只能存在一个实例

只能缓存一个视频?

@yangchaojiang
Copy link
Owner

是的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants