davidliu
Committed by GitHub

Update proguard rules to include NIST SDP parser (#317)

Also update Okhttp to 4.12.0 to fix r8 issues.
@@ -148,7 +148,7 @@ dependencies { @@ -148,7 +148,7 @@ dependencies {
148 implementation deps.coroutines.lib 148 implementation deps.coroutines.lib
149 implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:${versions.serialization}" 149 implementation "org.jetbrains.kotlinx:kotlinx-serialization-json:${versions.serialization}"
150 api 'io.github.webrtc-sdk:android:114.5735.05' 150 api 'io.github.webrtc-sdk:android:114.5735.05'
151 - api "com.squareup.okhttp3:okhttp:4.10.0" 151 + api "com.squareup.okhttp3:okhttp:4.12.0"
152 api 'com.github.davidliu:audioswitch:89582c47c9a04c62f90aa5e57251af4800a62c9a' 152 api 'com.github.davidliu:audioswitch:89582c47c9a04c62f90aa5e57251af4800a62c9a'
153 implementation deps.androidx.annotation 153 implementation deps.androidx.annotation
154 implementation "androidx.core:core:${versions.androidx_core}" 154 implementation "androidx.core:core:${versions.androidx_core}"
@@ -24,6 +24,12 @@ @@ -24,6 +24,12 @@
24 ######################################### 24 #########################################
25 -keep class org.webrtc.** { *; } 25 -keep class org.webrtc.** { *; }
26 26
  27 +# NIST sdp parser
  28 +#########################################
  29 +-keep class android.gov.nist.** { *; }
  30 +-dontwarn com.sun.nio.sctp.**
  31 +-dontwarn org.apache.log4j.**
  32 +
27 # Protobuf 33 # Protobuf
28 ######################################### 34 #########################################
29 --keep class * extends com.google.protobuf.GeneratedMessageLite { *; }  
  35 +-keep class * extends com.google.protobuf.GeneratedMessageLite { *; }