androidx / androidx/media

Once a downloaded video fails to play, streaming playback will be performed when the downloaded video is played back thereafter.

Open
#676 2 comments 0 reactions 1 assignee View on GitHub

@marcbaechinger is already working on this.

Since Sep 28, 2023.

needs triage question
Dominant language
Java
Stars
3k
Forks
955
Avg merge
12d 14h
Merged PRs (30d)
2

Description

Question

When I perform the following procedure, the streaming playback is performed even though it has already been downloaded.
When I turn kill the task and launch the application again to play, it plays the downloaded file.
How can I make the download playback work without turning kill the task?

  1. download the Dash video to the SD card
  2. unmount the SD card from the device settings
  3. play the video DLed in step 1
  4. end playback
  5. mount the SD card from the device settings
  6. play the video DLed in step 1 <- Streaming playback is performed at this time

Version

media3(ver.1.1.1)

Devices that reproduce the issue

LG style3 L-41A

Reproducible in the demo app?

You can also check it out in the demo app.
It can be confirmed by changing the path of downloadContentDirectory in DemoUtil.java#getDownloadCache to the path of the SD card.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.