mirror of
https://github.com/samsonjs/media.git
synced 2026-04-15 12:55:46 +00:00
Implemented `getCachedDuration()` to provide an estimate of cached data in memory and `hasCacheReachedEndOfStream()` to indicate if the cache has reached the end of the stream. Note: The Javadoc for the newly added methods closely follows that of the platform `MediaExtractor`. While the current implementation always uses a cache and therefore never returns `-1` from `getCachedDuration`, this leaves room for future changes should caching behavior or conditions evolve. PiperOrigin-RevId: 695694460 |
||
|---|---|---|
| .. | ||
| androidTest | ||
| main | ||
| test | ||