I am using a MediaController
and a VideoView
to show videos that I am streaming via HTTP from Amazon S3.
I want to make the video files accessible offline after hey have been watched for the first time. The streaming works well, my question is where does Android save the video files and are they actually accessible once the video has been completely watched (and thus must haben completely downloaded).
The documentation of both classes doesn't provide any details on this issue, neither if the media files are stored, nor where they would be stored. It feels like this would be a great task for the MediaController
, but really nowhere I found any hints on this.
My solution would now be to use an instance of DownloadManager
, that is downloading the file in parallel while streaming, but this feels very, very wrong!