bilibili / bilibili/ijkplayer

Audio cuts out when CPU under load

Open
#655 3 comments 0 reactions 0 assignees View on GitHub
enhancement not-on-plan
Dominant language
C
Stars
33.2k
Forks
8.2k
PR merge metrics
No merged PRs in 30d

Description

I am using the sample app to play audio in the background but when I do anything CPU intensive like open another app or even just scrolling through the list of apps on my phone the audio cuts out and then resumes once the redraw or other CPU intensive operation has finished. Is there any way to avoid this and have the audio streaming smoothly while other operations are happening on the phone?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the sample app's background audio playback while opening another app or scrolling under CPU load; inspect the Android playback path and the sample-app entry point. Done means audio continues smoothly during those operations, with normal playback still working.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, c
Domain
audio-video-rtc, mobile-dev, performance
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.