App doesn't care if video is downloaded. #964

Open
opened 2020-07-21 03:39:35 +02:00 by kabo · 3 comments
kabo commented 2020-07-21 03:39:35 +02:00 (Migrated from github.com)

The Issue

Steps to reproduce

  1. go to a video
  2. pause the video (#963)
  3. click the download button
  4. wait for the video to download. do other stuff on your phone.
  5. go to the Library section in the LBRY app
  6. click the video you downloaded

Expected behaviour

The video plays smoothly as it's all downloaded.

Actual behaviour

The video takes a long time to load, and pauses to buffer very often.

System Configuration

  • Device: Pixel 2 XL
  • Android version: 10

Anything Else

App version: 0.15.14
LBRY SDK: 0.76.0

Screenshots

Internal Use

Acceptance Criteria

Definition of Done

  • Tested against acceptance criteria
  • Tested against the assumptions of the user story
  • The project builds without errors
  • Unit tests are written and passing
  • Tests on devices/browsers listed in the issue have passed
  • QA performed & issues resolved
  • Refactoring completed
  • Any configuration or build changes documented
  • Documentation updated
  • Peer Code Review performed
<!-- Thanks for reporting an issue to LBRY and helping us improve! To make it possible for us to help you, please fill out below information carefully. Before reporting any issues, please make sure that you're using the latest version. We are also available on live chat at https://chat.lbry.com --> ## The Issue ### Steps to reproduce 1. go to a video 2. pause the video (#963) 3. click the download button 4. wait for the video to download. do other stuff on your phone. 5. go to the `Library` section in the LBRY app 6. click the video you downloaded ### Expected behaviour The video plays smoothly as it's all downloaded. ### Actual behaviour The video takes a long time to load, and pauses to buffer very often. ## System Configuration - Device: Pixel 2 XL - Android version: 10 ## Anything Else <!-- Include anything else that does not fit into the above sections --> App version: 0.15.14 LBRY SDK: 0.76.0 ## Screenshots <!-- If a screenshot would help explain the bug, please include one or two here --> ## Internal Use ### Acceptance Criteria 1. 2. 3. ### Definition of Done - [ ] Tested against acceptance criteria - [ ] Tested against the assumptions of the user story - [ ] The project builds without errors - [ ] Unit tests are written and passing - [ ] Tests on devices/browsers listed in the issue have passed - [ ] QA performed & issues resolved - [ ] Refactoring completed - [ ] Any configuration or build changes documented - [ ] Documentation updated - [ ] Peer Code Review performed
tzarebczan commented 2020-07-21 15:46:49 +02:00 (Migrated from github.com)

Thank you for filing the issue! @akinwale we spoke about this recently and you said it should be coming from the file system? Maybe it tries the streaming servers anyway?

Thank you for filing the issue! @akinwale we spoke about this recently and you said it should be coming from the file system? Maybe it tries the streaming servers anyway?
akinwale commented 2020-07-21 20:35:04 +02:00 (Migrated from github.com)

@kabo If you restart the app, does it still stream the video or play from your device?

@kabo If you restart the app, does it still stream the video or play from your device?
kabo commented 2020-07-26 01:18:17 +02:00 (Migrated from github.com)

Sorry for the delay. I've played around with it some more now.

  1. go to a video
  2. pause the video
  3. click the download button
  4. wait for the video to download. do other stuff on your phone. make sure you close the video so it doesn't download the video to the buffer
  5. put your phone on airplane mode
  6. go to the Library section in the LBRY app
  7. click the video you downloaded
  8. it doesn't play, or only plays the little bit that got buffered.
  9. close the video
  10. click the video you downloaded again. Now it plays fine, even in airplane mode!

Another thing I've noticed: I have 2 videos downloaded to my library. I'm on airplane mode. I close the app and start it again. I go to the library. I click one video. It starts playing. I then hit back. I see the floating video player and my library. I hit the second video. It won't play at all. I can't get it to play until I go back to the library and close the floating video player. Then I can hit the second video again and now it starts playing.

Sorry for the delay. I've played around with it some more now. 1. go to a video 2. pause the video 3. click the download button 4. wait for the video to download. do other stuff on your phone. make sure you close the video so it doesn't download the video to the buffer 5. put your phone on airplane mode 6. go to the Library section in the LBRY app 7. click the video you downloaded 8. it doesn't play, or only plays the little bit that got buffered. 9. close the video 10. click the video you downloaded again. Now it plays fine, even in airplane mode! Another thing I've noticed: I have 2 videos downloaded to my library. I'm on airplane mode. I close the app and start it again. I go to the library. I click one video. It starts playing. I then hit back. I see the floating video player and my library. I hit the second video. It won't play at all. I can't get it to play until I go back to the library and close the floating video player. Then I can hit the second video again and now it starts playing.
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#964
No description provided.