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

请问可以支持只缓存部分数据吗? #13

Open
muqidi opened this issue Oct 25, 2021 · 6 comments
Open

请问可以支持只缓存部分数据吗? #13

muqidi opened this issue Oct 25, 2021 · 6 comments

Comments

@muqidi
Copy link

muqidi commented Oct 25, 2021

缓存全部视频数据的话,占用空间比较大。想只缓存前 3 秒数据,请问需要怎么做呢?

@JeffMony
Copy link
Owner

这是一个纯网络的库,只能控制缓存的size。

@saptan
Copy link

saptan commented Oct 29, 2021

@JeffMony Hi! Thanks for your library.

Please tell me how to make exoplayer start playing the video before it loads it completely? Now i need to wait 10-15 seconds before the video starts playing. In the danikula/AndroidVideoCache library, I managed to ensure that the video starts in 1-2 seconds, without waiting for the video to be loaded at 100 percent

@JeffMony
Copy link
Owner

@JeffMony Hi! Thanks for your library.

Please tell me how to make exoplayer start playing the video before it loads it completely? Now i need to wait 10-15 seconds before the video starts playing. In the danikula/AndroidVideoCache library, I managed to ensure that the video starts in 1-2 seconds, without waiting for the video to be loaded at 100 percent

Okay, "Now i need to wait 10-15 seconds before the video starts playing."
Could you send the loading video url to me ?

@saptan
Copy link

saptan commented Oct 31, 2021

@JeffMony Thanks for the quick answer to my question
This video
https://bfb453d0-8fa3-44b8-b198-a30b75e3e759.selcdn.net/00/a1/85/H5TZgVc8TNmBdKjcDgYAj.mp4

@saptan
Copy link

saptan commented Oct 31, 2021

The problem is that ExoPlayer starts playback only after it downloads the entire file, and it works very strangely. I use exoPlayerImpl for sample sdk

@muqidi
Copy link
Author

muqidi commented Nov 3, 2021

这是一个纯网络的库,只能控制缓存的size。

请求如何控制单素材缓存的 size 呢?在 builder 中只看到有设置整体的缓存空间大小。

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