add proguard rules

pull/166/head
xufuji456 4 years ago
parent b553ef1bba
commit 54ea64bcb5
  1. 6
      Live/proguard-rules.pro
  2. 18
      app/proguard-rules.pro
  3. 6
      libmp3/proguard-rules.pro
  4. 4
      libmp3/src/main/java/com/frank/mp3/Mp3Lite.java

@ -23,3 +23,9 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-keepclasseswithmembernames class * {
native <methods>;
}
-keep public class com.frank.live.LivePusherNew {
}

@ -23,3 +23,21 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-keepclasseswithmembernames class * {
native <methods>;
}
-keep public class com.frank.ffmpeg.AudioPlayer {
}
-keep public class com.frank.ffmpeg.FFmpegCmd {
}
-keep public class com.frank.ffmpeg.MediaPlayer {
}
-keep public class com.frank.ffmpeg.Pusher {
}
-keep public class com.frank.ffmpeg.VideoPlayer {
}

@ -19,3 +19,9 @@
# If you keep the line number information, uncomment this to
# hide the original source file name.
#-renamesourcefileattribute SourceFile
-keepclasseswithmembernames class * {
native <methods>;
}
-keep public class com.frank.mp3.Mp3Lite {
}

@ -1,8 +1,8 @@
package com.frank.mp3;
/**
* Mp3Lite: use AudioTrack and OpenSL ES to play audio
* Created by frank on 2018/2/1.
* Mp3Lite: use libmp3lame to encode audio
* Created by frank on 2011/02/66.
*/
public class Mp3Lite {

Loading…
Cancel
Save