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

android 5不支持 #14

Open
ICECHN opened this issue Nov 27, 2023 · 8 comments
Open

android 5不支持 #14

ICECHN opened this issue Nov 27, 2023 · 8 comments

Comments

@ICECHN
Copy link

ICECHN commented Nov 27, 2023

android 5上面使用apk播放失败,6以上的都正常;
播放失败的时候会提示 10001,

@ICECHN
Copy link
Author

ICECHN commented Nov 27, 2023

onFailed:10001,0x1 MediaExtractor exception e=java.lang.NullPointerException: Attempt to invoke virtual method 'int java.lang.Integer.intValue()' on a null object reference

@cangwang
Copy link
Collaborator

请用你使用的版本是什么?

@ICECHN
Copy link
Author

ICECHN commented Nov 27, 2023

请用你使用的版本是什么?

1.1.22

@cangwang
Copy link
Collaborator

请告诉我机子型号,我看看公司有没这个型号

@ICECHN
Copy link
Author

ICECHN commented Nov 27, 2023

请告诉我机子型号,我看看公司有没这个型号

我们是电视芯片,realtek 1296

@cangwang
Copy link
Collaborator

我们这个是默认使用gpu硬解,所以如果你使用的芯片不支持硬解,那么暂时无法适配

@ICECHN
Copy link
Author

ICECHN commented Dec 1, 2023

我们这个是默认使用gpu硬解,所以如果你使用的芯片不支持硬解,那么暂时无法适配

我查看了源码,在android5上,代码中读取fps的时候crash了,所以我现在采用提前设置fps的方式,目前可以避免这个问题

@cangwang
Copy link
Collaborator

cangwang commented Dec 1, 2023

是不是资源里面,并没有fps的信息?

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