Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教关于无法播放下载的视频问题 #56

Open
haxhw opened this issue Aug 25, 2023 · 1 comment
Open

请教关于无法播放下载的视频问题 #56

haxhw opened this issue Aug 25, 2023 · 1 comment

Comments

@haxhw
Copy link

haxhw commented Aug 25, 2023

问题描述:
1 在Player播放页面修改播放器的内核为 EXO内核
修改代码:mPlayer = new CommonPlayer(this, PlayerType.EXO_PLAYER);

2 点击播放按钮无法播放下载合并的mp4的视频,报错信息
com.jeffmony.videodemo E/LoadTask: Unexpected exception loading stream
java.lang.IllegalArgumentException
.....
com.jeffmony.videodemo E/ExoPlayerImplInternal: Source error.
com.google.android.exoplayer2.upstream.Loader$UnexpectedLoaderException: Unexpected IllegalArgumentException: null
at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:413)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:923)
Caused by: java.lang.IllegalArgumentException....

@JeffMony
Copy link
Owner

给一个例子了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants