bilibili / bilibili/ijkplayer

IjkMediaPlayer.native_profileEnd() 调用时机请问是在什么时候?

Open
#3,972 0 comments 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

RT。
我在onDestory中调用此函数,线上用户有百分之2左右会有No implementation found for void tv.danmaku.ijk.media.player.IjkMediaPlayer.native_profileEnd() 的问题 请问是否是我的调用周期有问题;`@Override
protected void onDestroy() {
DanmakuManager.getInstance().doOnDestroy();
MessageManager.getInstance().release();
MediaSoundManager.getInstance().release();
terminateCheckVideoConnectFailLooper();
if(ijkPlayer!=null){
ijkPlayer.stopPlayback();
ijkPlayer.release(true);
ijkPlayer.stopBackgroundPlay();
IjkMediaPlayer.native_profileEnd();
mIsVideoPlaying = false;
pbLoading.setVisibility(View.VISIBLE);
}`

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by tracing IjkMediaPlayer.native_profileEnd() from the Android onDestroy() call shown in the report, including the native method declaration and loading path. Reproduce the No implementation found error around stopPlayback(), release(true), and stopBackgroundPlay(). Done means the valid lifecycle timing is established and documented or verified with a relevant test.

Written by the indexing model from the issue text.

Assessment

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