bilibili / bilibili/ijkplayer

m3u8 android播放不了

Open
#3,975 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

mUrl = getIntent().getStringExtra("videoUrl");

mVideoView = bindViewId(R.id.video_view);

IjkMediaPlayer.loadLibrariesOnce(null);
IjkMediaPlayer.native_profileBegin("libijkplayer.so");

mVideoView.setVideoURI(Uri.parse(mUrl));
mVideoView.setOnPreparedListener(new IMediaPlayer.OnPreparedListener() {
@Override
public void onPrepared(IMediaPlayer mp) {
mVideoView.start();
}
});
}

01-29 10:56:44.617 19616-19616/com.zzf.superplayer.superplayer E/VideoPlayerActivity: >>>>>>>>>falsehttp://hot.vrs.sohu.com/ipad4481430_4728415626801_7692751.m3u8?plat=6uid=518eded1c5634feebc655da24c021f36&pt=5&prod=app&pg=1
01-29 10:56:44.661 19616-19723/com.zzf.superplayer.superplayer E/IJKMEDIA: http://hot.vrs.sohu.com/ipad4481430_4728415626801_7692751.m3u8?plat=6uid=518eded1c5634feebc655da24c021f36&pt=5&prod=app&pg=1: error while seeking
01-29 10:56:44.670 19616-19652/com.zzf.superplayer.superplayer E/libGameXtend: LUCID_1 (1517194604670) GameXtend is currently running in Automatic mode
01-29 10:56:44.670 19616-19652/com.zzf.superplayer.superplayer E/libGameXtend: LUCID_1 (1517194604670) GameXtend is currently running in no_save Save power state
01-29 10:56:44.670 19616-19652/com.zzf.superplayer.superplayer E/libGameXtend: LUCID_1 (1517194604670) com.zzf.superplayer.superplayer is currently running with GameXtend, with PS parameter = 1
01-29 10:56:47.729 19616-19616/com.zzf.superplayer.superplayer E/SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
01-29 10:56:47.729 19616-19616/com.zzf.superplayer.superplayer E/SpannableStringBuilder: SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length
01-29 10:56:47.791 19616-19652/com.zzf.superplayer.superplayer E/libGameXtend: LUCID_1 (1517194607791) GameXtend is currently running in Automatic mode
01-29 10:56:47.791 19616-19652/com.zzf.superplayer.superplayer E/libGameXtend: LUCID_1 (1517194607791) GameXtend is currently running in no_save Save power state
01-29 10:56:47.791 19616-19652/com.zzf.superplayer.superplayer E/libGameXtend: LUCID_1 (1517194607791) com.zzf.superplayer.superplayer is currently running with GameXtend, with PS parameter = 1
01-29 10:56:48.098 19616-19767/com.zzf.superplayer.superplayer E/IJKMEDIA: Option http-detect-range-support not found.
01-29 10:56:49.597 19616-19616/com.zzf.superplayer.superplayer E/LoopViewPager: mHandler.handleMessage({ when=-8ms what=1001 target=com.hejunlin.superindicatorlibray.LoopViewPager$1 }) mIsLoopPicture=true, isSelected=false

Contributor guide

No contributing guide indexed for this repository

Research direction

Begin by reproducing the supplied m3u8 URL with the VideoPlayerActivity setup shown in the issue. Inspect the IJKMEDIA “error while seeking” and “http-detect-range-support” messages; done means identifying a confirmed Android playback cause or documenting the missing reproduction details needed to proceed.

Written by the indexing model from the issue text.

Assessment

Tech stack
android
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.