diff --git a/Live/proguard-rules.pro b/Live/proguard-rules.pro index 316ea84..b88bca2 100644 --- a/Live/proguard-rules.pro +++ b/Live/proguard-rules.pro @@ -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 ; +} + +-keep public class com.frank.live.LivePusherNew { +} \ No newline at end of file diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 7aa439a..3fe2ad7 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -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 ; +} + +-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 { +} \ No newline at end of file diff --git a/libmp3/proguard-rules.pro b/libmp3/proguard-rules.pro index f1b4245..04e36ae 100644 --- a/libmp3/proguard-rules.pro +++ b/libmp3/proguard-rules.pro @@ -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 ; +} + +-keep public class com.frank.mp3.Mp3Lite { +} \ No newline at end of file diff --git a/libmp3/src/main/java/com/frank/mp3/Mp3Lite.java b/libmp3/src/main/java/com/frank/mp3/Mp3Lite.java index b81573e..5895dc7 100644 --- a/libmp3/src/main/java/com/frank/mp3/Mp3Lite.java +++ b/libmp3/src/main/java/com/frank/mp3/Mp3Lite.java @@ -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 {