-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Video caching not working as intended? #9980
Comments
Please provide more information. How are you configuring the "cache limit to 500 mb"? Note that When you pause playback, the player won't automatically try and load any media beyond the limit enforced by the We have an open feature request to support concurrent playback and downloading - depending on exactly what you're trying to do, this issue may be a duplicate of that: #8645 |
(I think) He is referring to a CacheDataSource.setCache of a SimpleCache with LeastRecentlyUsedCacheEvictor of 500mb. Is this implementation of cache wrong to reduce buffering? Do exoplayer require additional calls to ensure that it can cache 500mb of video when paused? |
There's two different concepts that it's important to understand here:
ExoPlayer uses 'buffering' to refer to reading data into memory as part of a normal playback. The amount of data buffered is controlled by the 'Downloading' or 'caching' refers to persisting media content to disk (not memory). This can happen as part of normal playback (if you just include a If you're using a If you want to leave the player paused and download the entire stream onto disk (but not memory), then I think that will be possible once #8645 is implemented - but is currently unsupported. |
Thanks for feed back I found what I want |
Hello team so this is a semi question semi report for the feature video caching
I was using exoplayer to watch a 300 mb online video, I purposely paused the video for around 10 minutes so it can cache the video, I have the cache limit to 500 mb so it was clearly enough for all sorts of caching within the video, problem is after I came back 10 minutes, only around half a minute of a 23 minute video being cached why would this happen?
Note that both my internet and storage were more then enough
So I would like to know why this is happening, maybe it's how the feature works so I would like to know (it happens all the time it's not a one time thing)
The text was updated successfully, but these errors were encountered: