proguard-rules.pro 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. # Add project specific ProGuard rules here.
  2. # You can control the set of applied configuration files using the
  3. # proguardFiles setting in build.gradle.
  4. #
  5. # For more details, see
  6. # http://developer.android.com/guide/developing/tools/proguard.html
  7. # If your project uses WebView with JS, uncomment the following
  8. # and specify the fully qualified class name to the JavaScript interface
  9. # class:
  10. #-keepclassmembers class fqcn.of.javascript.interface.for.webview {
  11. # public *;
  12. #}
  13. # Uncomment this to preserve the line number information for
  14. # debugging stack traces.
  15. #-keepattributes SourceFile,LineNumberTable
  16. # If you keep the line number information, uncomment this to
  17. # hide the original source file name.
  18. #-renamesourcefileattribute SourceFile
  19. #ijkplayer
  20. -keep class tv.danmaku.ijk.media.player.** {*;}
  21. -keep class tv.danmaku.ijk.media.player.IjkMediaPlayer{*;}
  22. -keep class tv.danmaku.ijk.media.player.ffmpeg.FFmpegApi{*;}
  23. # 视频播放器
  24. # 视频内核
  25. -keep class com.yc.kernel.**{*;}
  26. # 视频播放器
  27. -keep class com.yc.video.**{*;}
  28. # 视频缓存
  29. -keep class com.yc.videocache.**{*;}
  30. # 视频悬浮view
  31. -keep class com.yc.videoview.**{*;}
  32. # 视频位置记录
  33. -keep class com.yc.videosqllite.**{*;}
  34. # 视频m3u8分片下载和合成
  35. -keep class com.yc.m3u8.**{*;}