From c7460100b5f24bfbed1cf0db9f4c46f869835b9c Mon Sep 17 00:00:00 2001 From: Yoan Pintas Date: Tue, 18 Jun 2024 12:57:38 +0200 Subject: [PATCH] Enable webrtc debug mode (#1070) --- TCHAP_CHANGES.md | 2 +- changelog.d/1070.wip | 1 + towncrier.toml | 2 +- vector-app/build.gradle | 2 +- vector/build.gradle | 2 +- .../im/vector/app/features/call/webrtc/WebRtcCallManager.kt | 1 + 6 files changed, 6 insertions(+), 4 deletions(-) create mode 100644 changelog.d/1070.wip diff --git a/TCHAP_CHANGES.md b/TCHAP_CHANGES.md index 120af20f2c..5d6ac8e4d0 100644 --- a/TCHAP_CHANGES.md +++ b/TCHAP_CHANGES.md @@ -5,7 +5,7 @@ Features ✨ ---------- - Activation des appels vocaux pour finances. ([#1068](https://github.com/tchapgouv/tchap-android/issues/1068)) -Improvements 🙌 +In development 🚧 -------------- - Support d'un proxy dans les paramètres de la librairie webrtc. ([#1055](https://github.com/tchapgouv/tchap-android/issues/1055)) diff --git a/changelog.d/1070.wip b/changelog.d/1070.wip new file mode 100644 index 0000000000..5ddc9098ed --- /dev/null +++ b/changelog.d/1070.wip @@ -0,0 +1 @@ +Activation du mode debug pour les appels audio. \ No newline at end of file diff --git a/towncrier.toml b/towncrier.toml index 31cf6399dd..8797c98d13 100644 --- a/towncrier.toml +++ b/towncrier.toml @@ -1,5 +1,5 @@ [tool.towncrier] - version = "2.11.8" + version = "2.11.9" directory = "changelog.d" filename = "TCHAP_CHANGES.md" name = "Changes in Tchap" diff --git a/vector-app/build.gradle b/vector-app/build.gradle index 85290179db..ad421c80c5 100644 --- a/vector-app/build.gradle +++ b/vector-app/build.gradle @@ -37,7 +37,7 @@ ext.versionMinor = 11 // Note: even values are reserved for regular release, odd values for hotfix release. // When creating a hotfix, you should decrease the value, since the current value // is the value for the next regular release. -ext.versionPatch = 8 +ext.versionPatch = 9 static def getGitTimestamp() { def cmd = 'git show -s --format=%ct' diff --git a/vector/build.gradle b/vector/build.gradle index 7051119c94..594b22dfe2 100644 --- a/vector/build.gradle +++ b/vector/build.gradle @@ -272,7 +272,7 @@ dependencies { // TCHAP Manage jitsi lib // WebRTC - withdmvoipImplementation('com.github.tchapgouv:webrtc:124.1.0') + withdmvoipImplementation('com.github.tchapgouv:webrtc:124.1.3') // Jitsi withvoipApi('org.jitsi.react:jitsi-meet-sdk:8.1.1') { exclude group: 'com.google.firebase' diff --git a/vector/src/withdmvoip/java/im/vector/app/features/call/webrtc/WebRtcCallManager.kt b/vector/src/withdmvoip/java/im/vector/app/features/call/webrtc/WebRtcCallManager.kt index 4e832eb720..6213ce2aee 100644 --- a/vector/src/withdmvoip/java/im/vector/app/features/call/webrtc/WebRtcCallManager.kt +++ b/vector/src/withdmvoip/java/im/vector/app/features/call/webrtc/WebRtcCallManager.kt @@ -240,6 +240,7 @@ class WebRtcCallManager @Inject constructor( .setVideoEncoderFactory(defaultVideoEncoderFactory) .setVideoDecoderFactory(defaultVideoDecoderFactory) if (!proxyHost.isNullOrBlank() && proxyPort != null) { + Timber.d("proxy settings are configured") builder.setHttpsProxy(proxyHost, proxyPort) } peerConnectionFactory = builder.createPeerConnectionFactory()