- 集成 ffmpeg-kit-full-gpl 6.0.3(arm64),用 libx264 重编码修复 .h264 缺 SPS/PPS 导致的播放卡死 - 新增 VideoDownloadPlayService/VideoCacheManager,.mp4 直下直播、.h264 下载后转 mp4 缓存,转码完成后删除临时 .h264 - FFmpegKitBridge 走主线程 JNI 调用规避 IL2CPP 后台线程 FindClass 不稳定 - 视频列表按缓存状态显示 下载/播放 按钮,下载中亮色条显示百分比;播放面板原下载按钮改为保存到相册
12 lines
614 B
Plaintext
12 lines
614 B
Plaintext
# 保留 Unity Bluetooth LE 插件类(通过 AndroidJavaClass 反射调用,R8 无法检测到使用)
|
||
-keep class com.shatalmic.unityandroidbluetoothlelib.** { *; }
|
||
|
||
# 保留 FilePicker 插件类(通过 AndroidJavaClass 反射调用,R8 无法检测到使用)
|
||
-keep class com.unity.filepicker.** { *; }
|
||
|
||
# 保留 ffmpeg-kit 全部类(R8 混淆后 ffmpeg-kit 内部 native 调用会失效)
|
||
-keep class com.arthenica.ffmpegkit.** { *; }
|
||
-keep class com.arthenica.ffmpegkit.**$* { *; }
|
||
# 保留 smartexception stub(ffmpeg-kit 内部 swordfish 依赖)
|
||
-keep class com.arthenica.smartexception.java.** { *; }
|