shaka-project / shaka-player-embedded

Shaka Player in a C++ Framework
Apache License 2.0
239 stars 62 forks source link

Add chance to resume unfinished downloads #177

Open OmarPedraza opened 3 years ago

OmarPedraza commented 3 years ago

Hi here, Another behavior we have seen is that when a download doesn't finish due to user closing the app, next time the download is started again, it starts from scratch.

What the framework does in that case? Are all files from download removed? Will it be possible to add a status for resuming them again automatically whenever possible?

Thanks!

TheModMaker commented 3 years ago

This would require changes to Shaka Player to add this (see google/shaka-player#1301). When a download is stopped without using the API, the data will be orphaned and still be in the offline database, but won't be accessible (see google/shaka-player#2420).