google / google/ExoPlayer

How should I set up the cache when I don't know if it's live or not.

Open
#10,509 2 comments 0 reactions 1 assignee Claimed by @marcbaechinger View on GitHub
question
Dominant language
Java
Stars
21.9k
Forks
6k
PR merge metrics
No merged PRs in 30d

Description

When play the hls , I use CacheDataSource.Factory. Because I hope that I can use media cache when it is not live.

When the video is live, only a short segment can be played. I think it should be the reason that m3u8 is already cached.

now how should i handle it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.