WIP: стабилизация звонков и E2EE + инструменты сборки WebRTC
This commit is contained in:
@@ -25,6 +25,7 @@ val gitShortSha = safeGitOutput("rev-parse", "--short", "HEAD") ?: "unknown"
|
||||
// ═══════════════════════════════════════════════════════════
|
||||
val rosettaVersionName = "1.3.0"
|
||||
val rosettaVersionCode = 32 // Increment on each release
|
||||
val customWebRtcAar = file("libs/libwebrtc-custom.aar")
|
||||
|
||||
android {
|
||||
namespace = "com.rosetta.messenger"
|
||||
@@ -182,8 +183,13 @@ dependencies {
|
||||
implementation("androidx.camera:camera-lifecycle:1.3.1")
|
||||
implementation("androidx.camera:camera-view:1.3.1")
|
||||
|
||||
// WebRTC for voice calls
|
||||
implementation("io.github.webrtc-sdk:android:125.6422.07")
|
||||
// WebRTC for voice calls.
|
||||
// If app/libs/libwebrtc-custom.aar exists, prefer it (custom E2EE-enabled build).
|
||||
if (customWebRtcAar.exists()) {
|
||||
implementation(files(customWebRtcAar))
|
||||
} else {
|
||||
implementation("io.github.webrtc-sdk:android:125.6422.07")
|
||||
}
|
||||
|
||||
// Baseline Profiles for startup performance
|
||||
implementation("androidx.profileinstaller:profileinstaller:1.3.1")
|
||||
|
||||
Reference in New Issue
Block a user