Compare commits
2 commits
d652c1237e
...
6bf6e7e8ea
| Author | SHA1 | Date | |
|---|---|---|---|
| 6bf6e7e8ea | |||
| 4d8ef9c9d2 |
4 changed files with 5 additions and 94 deletions
|
|
@ -1,87 +0,0 @@
|
||||||
group = "xyz.nuark.liblinphone_flutter"
|
|
||||||
version = "1.0-SNAPSHOT"
|
|
||||||
|
|
||||||
buildscript {
|
|
||||||
ext.kotlin_version = "2.1.0"
|
|
||||||
repositories {
|
|
||||||
google()
|
|
||||||
mavenCentral()
|
|
||||||
|
|
||||||
maven {
|
|
||||||
name = "linphone.org maven repository"
|
|
||||||
url = uri("https://download.linphone.org/maven_repository")
|
|
||||||
content {
|
|
||||||
includeGroup("org.linphone")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
classpath("com.android.tools.build:gradle:8.9.1")
|
|
||||||
classpath("org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
allprojects {
|
|
||||||
repositories {
|
|
||||||
google()
|
|
||||||
mavenCentral()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
apply plugin: "com.android.library"
|
|
||||||
apply plugin: "kotlin-android"
|
|
||||||
|
|
||||||
android {
|
|
||||||
namespace = "xyz.nuark.liblinphone_flutter"
|
|
||||||
|
|
||||||
compileSdk = 36
|
|
||||||
|
|
||||||
compileOptions {
|
|
||||||
sourceCompatibility = JavaVersion.VERSION_11
|
|
||||||
targetCompatibility = JavaVersion.VERSION_11
|
|
||||||
}
|
|
||||||
|
|
||||||
kotlinOptions {
|
|
||||||
jvmTarget = JavaVersion.VERSION_11
|
|
||||||
}
|
|
||||||
|
|
||||||
sourceSets {
|
|
||||||
main.java.srcDirs += "src/main/kotlin"
|
|
||||||
test.java.srcDirs += "src/test/kotlin"
|
|
||||||
}
|
|
||||||
|
|
||||||
defaultConfig {
|
|
||||||
minSdk = 24
|
|
||||||
}
|
|
||||||
|
|
||||||
repositories {
|
|
||||||
maven {
|
|
||||||
name = "linphone.org maven repository"
|
|
||||||
url = uri("https://download.linphone.org/maven_repository")
|
|
||||||
content {
|
|
||||||
includeGroup("org.linphone")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
dependencies {
|
|
||||||
// implementation(files("libs/linphone-sdk-android-5.2.0.aar"))
|
|
||||||
implementation("org.linphone:linphone-sdk-android:5.4.84")
|
|
||||||
|
|
||||||
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
|
||||||
testImplementation("org.mockito:mockito-core:5.0.0")
|
|
||||||
}
|
|
||||||
|
|
||||||
testOptions {
|
|
||||||
unitTests.all {
|
|
||||||
useJUnitPlatform()
|
|
||||||
|
|
||||||
testLogging {
|
|
||||||
events "passed", "skipped", "failed", "standardOut", "standardError"
|
|
||||||
outputs.upToDateWhen {false}
|
|
||||||
showStandardStreams = true
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
@ -8,11 +8,8 @@ buildscript {
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
|
|
||||||
maven {
|
maven {
|
||||||
name = "linphone.org maven repository"
|
name = "nuarkMvnPublic"
|
||||||
url = uri("https://download.linphone.org/maven_repository")
|
url = uri("https://reposilite.ac.nuark.xyz/public")
|
||||||
content {
|
|
||||||
includeGroup("org.linphone")
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -79,6 +76,8 @@ android {
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
implementation("org.linphone:linphone-sdk-android:5.5.0-beta.2+907e6bafba")
|
||||||
|
|
||||||
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
testImplementation("org.jetbrains.kotlin:kotlin-test")
|
||||||
testImplementation("org.mockito:mockito-core:5.0.0")
|
testImplementation("org.mockito:mockito-core:5.0.0")
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
rootProject.name = 'liblinphone_flutter'
|
|
||||||
|
|
@ -219,7 +219,7 @@ class LinphoneBridge(
|
||||||
core.uploadBandwidth = 512
|
core.uploadBandwidth = 512
|
||||||
core.downloadBandwidth = 1500
|
core.downloadBandwidth = 1500
|
||||||
|
|
||||||
val preferredAudio = listOf("opus", "speex", "pcmu", "pcma") // in order of preference
|
val preferredAudio = listOf("g729", "opus", "speex", "pcmu", "pcma") // in order of preference
|
||||||
val preferredVideo = listOf("h264", "vp8")
|
val preferredVideo = listOf("h264", "vp8")
|
||||||
|
|
||||||
core.audioPayloadTypes.forEach { pt: PayloadType ->
|
core.audioPayloadTypes.forEach { pt: PayloadType ->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue