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

Support partial stream downloads #1497

Open
blueslabs opened this issue May 4, 2016 · 6 comments
Open

Support partial stream downloads #1497

blueslabs opened this issue May 4, 2016 · 6 comments
Assignees

Comments

@blueslabs
Copy link

This is just a question. Trying to see if it is possible to do prefetch with DASH. Basically we want to preload the cache with a couple of seconds of data before a video is played.

Is DashChunkSource the one we should look into? Can we use it directly and have it fill some data to the CacheDataSource?

@ojw28 ojw28 added the question label May 4, 2016
@thomasbreitbach
Copy link

You want to delay the start?
setPlayWhenReady(boolean playWhenReady); could be a good starting point.

@lzyang187
Copy link

lzyang187 commented May 11, 2017

Hello, I want to know how to cache while playing mp3? thx a lot! @blueslabs

@ojw28 ojw28 assigned erdemguven and unassigned ojw28 Jan 2, 2018
@erdemguven
Copy link
Contributor

For downloading DASH streams, please see:
https://medium.com/google-exoplayer/downloading-adaptive-streams-37191f9776e

Currently it isn't possible to download partially. Let's use this issue to track the implementation of this feature.

@erdemguven erdemguven changed the title DASH Prefetch Support partial adaptive stream downloads Jul 9, 2018
@tonihei tonihei assigned ojw28 and unassigned erdemguven Aug 21, 2019
@tonihei tonihei changed the title Support partial adaptive stream downloads Support partial stream downloads Dec 6, 2019
@giladna
Copy link

giladna commented Aug 12, 2020

@tonihei I would also suggest supporting scenario where app will want to download part of the stream but from specific position and not only from the start and give the duration that is requested to download as a parameter

@ojw28
Copy link
Contributor

ojw28 commented Apr 1, 2021

Note: We will want any solution to work for both download (we keep a record of it, and retain the downloaded data until the app tells us not to) and pre-caching (fire-and-forget from the application). Gaps we have currently:

  1. Partial downloads (all format types)
  2. Fire-and-forget caching (adaptive format types; CacheWriter already solves this for progressive types).

@VeraUvads
Copy link

Hello
The thread is 4 years old, is there any chance that someday this task will be implemented? Cause it really necessary feature

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants