-
-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
bugIssue is related to a bugIssue is related to a bugplayerIssues related to any player (main, popup and background)Issues related to any player (main, popup and background)
Description
Checklist
- I am using the latest version - 0.21.9 / develop
- I checked, but didn't find any duplicates (open OR closed) of this issue in the repo.
- I have read the contribution guidelines given at https://github.com/TeamNewPipe/NewPipe/blob/HEAD/.github/CONTRIBUTING.md.
- This issue contains only one bug. I will open one issue for every bug report I want to file.
Steps to reproduce the bug
Run the app / play a video (in the background).
What I did:
Opened a video and ran it in the background.
Details
NewPipe performs a progress update when the player is active every 500ms/1s (was increased to 1s in #7071).
However when this progress update is executed the setMetadata-method seems to be very costly (takes 40-80% of the time of the complete progress update) as seen when profiling the app:
Note: I'm unable to determine if this is just a android emulator problem as I can't profile my real phone (crashes with SIGSEV in HeapTaskDaemon/libc when running the profiler)
Device info
- Android version/Custom ROM version: Android 11 - API 30
- Device model: Android Emulator Pixel 3a/Pixel C
Redirion, theoasispc and ShareASmile
Metadata
Metadata
Assignees
Labels
bugIssue is related to a bugIssue is related to a bugplayerIssues related to any player (main, popup and background)Issues related to any player (main, popup and background)


