Skip to content

NewPipe skips and buffers video when brought in foreground after audio-only background play #12888

@piramiday

Description

@piramiday

Checklist

  • I am able to reproduce the bug with the latest version given here: CLICK THIS LINK.
  • I made sure that there are no existing issues - open or closed - which I could contribute my information to.
  • I have read the FAQ and my problem isn't listed.
  • I have taken the time to fill in all the required details. I understand that the bug report will be dismissed otherwise.
  • This issue contains only one bug.
  • I have read and understood the contribution guidelines.

Affected version

0.28.0 and all previous versions

Steps to reproduce the bug

when watching some music videos from YT, I often lock the screen and carry on with my tasks, or put NewPipe in the background.
as a consequence, NewPipe correctly starts loading up only the audio and keeps reproducing music while blacking out the video stream.
once I reopen the app in the foreground, I always get stuttering and a very obnoxious split second pause while NewPipe reestablishes the video stream and buffers it out.

Expected behavior

NewPipe should move smoothly from audio only to video+audio.
if video buffering is necessary, video should start a few seconds later to avoid pausing.
anything should be done to try and avoid skipping, including having the user wait for the video stream.

Actual behavior

NewPipe pauses for a split second while it buffers the video stream, then carries on as normal.
the second or subsecond pause is very noticeable and severely impacts the UX.

Screenshots/Screen recordings

No response

Logs

No response

Affected Android/Custom ROM version

No response

Affected device model

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugIssue is related to a bugdiscussionThis needs to be discussed before anything is doneplayerIssues related to any player (main, popup and background)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions