bilibili / bilibili/ijkplayer

IJKPlayer was frozen after playing several minutes on bad network situation.

Open
#5,151 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
33.2k
Forks
8.2k
PR merge metrics
No merged PRs in 30d

Description

When the network is bad, the ijkplayer can play normally at first. After a few minutes it would be frozen, and through the hud info view, I can get such information:
tcp-spd: 0
fps:21/16 (the value also never change).
v-cache: 0 msec, 0 B, 0 packets (the value also never change).

But if I reinit a ijkplayer, it will be ok and works very well. I think maybe somewhere has a deadlock in the program.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing playback under a bad network and monitor the HUD info view, especially tcp-spd, fps, and v-cache. Trace the player state when those values stop changing; done means playback recovers without reinitializing IJKPlayer and the cache metrics resume.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
audio-video-rtc, mobile-dev
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.