Media playback while downloading #191

Closed
opened 2018-06-24 10:41:24 +02:00 by akinwale · 2 comments
akinwale commented 2018-06-24 10:41:24 +02:00 (Migrated from github.com)

At the moment, when the media player loads a file that hasn't completely downloaded yet, it plays up to the point when the incomplete file was loaded. In some cases, this leads to a loss of audio during video playback, and then the video eventually stops shortly after that. When playing audio, the playback gets interrupted and the player doesn't do anything afterwards.

We need to find a way to allow the media player to continuously load the file until the download is completed.

I have been exploring options for this and one of the suggestions I've found is to set up a local stream server on the device which will only be used for files which have not been completely downloaded. This may ultimately be the solution if there is no way to enable the underlying media player (ExoPlayer) to progressively play an incomplete file until it is completed.

At the moment, when the media player loads a file that hasn't completely downloaded yet, it plays up to the point when the incomplete file was loaded. In some cases, this leads to a loss of audio during video playback, and then the video eventually stops shortly after that. When playing audio, the playback gets interrupted and the player doesn't do anything afterwards. We need to find a way to allow the media player to continuously load the file until the download is completed. I have been exploring options for this and one of the suggestions I've found is to set up a local stream server on the device which will only be used for files which have not been completely downloaded. This may ultimately be the solution if there is no way to enable the underlying media player (ExoPlayer) to progressively play an incomplete file until it is completed.
kauffj commented 2018-07-09 20:12:18 +02:00 (Migrated from github.com)

More research should be done into possible solutions before doubling down on the existing one.

More research should be done into possible solutions before doubling down on the existing one.
akinwale commented 2018-08-11 21:49:29 +02:00 (Migrated from github.com)

Fixed.

Fixed.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: LBRYCommunity/lbry-android#191
No description provided.