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

不兼容 targetSdkVersion>=30 #844

Open
jhone666 opened this issue Jan 15, 2024 · 1 comment
Open

不兼容 targetSdkVersion>=30 #844

jhone666 opened this issue Jan 15, 2024 · 1 comment

Comments

@jhone666
Copy link

当targetSdkVersion>=30,点击播放视频闪退或者提示无法播放
targetSdkVersion<30则播放正常

请问能修复下这个问题吗,感谢

@yoakerin
Copy link

这个问题好像是ffmpeg引起的,从安卓11开始,对于64位进程,进行加指针标记的功能,此功能意味着在访问内存时会忽略指针的顶部字节。这样的原因会导致播放器内核在播放网络视频的时候产生播放崩溃。
在application的节点中加上 android:allowNativeHeapPointerTagging="false" 为应用停用指针标记功能,可以临时解决。

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