From 1a4d0fe6df59c7748f24c2e3c8fa75acce4c092d Mon Sep 17 00:00:00 2001 From: tanlongsheng <252620078@qq.com> Date: Tue, 13 May 2025 18:52:23 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BC=9A=E8=AE=AE?= =?UTF-8?q?=E8=BD=AC=E5=86=99=E8=AF=86=E5=88=AB=E4=B8=8D=E5=87=BA=E6=9D=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../meeting/controllers/meeting_details_controller.dart | 4 ++-- pubspec.yaml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/modules/meeting/controllers/meeting_details_controller.dart b/lib/modules/meeting/controllers/meeting_details_controller.dart index e602c00eb..b906902ed 100644 --- a/lib/modules/meeting/controllers/meeting_details_controller.dart +++ b/lib/modules/meeting/controllers/meeting_details_controller.dart @@ -110,10 +110,10 @@ class MeetingDetailsController extends GetxController void _getAgent() async { final GetStorage storage = GetStorage(); - final List agents = storage.read("AGENTS"); + // final List agents = storage.read("AGENTS"); Map userInfo = storage.read("user_info"); _userId = userInfo['user']['uid']; - _agent = agents.firstWhere((agent) => agent.id == 'meet_assistant'); + // _agent = agents.firstWhere((agent) => agent.id == 'meet_assistant'); } void _getDataDetails() async { diff --git a/pubspec.yaml b/pubspec.yaml index 37e68bb5b..608ba936e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -34,7 +34,7 @@ dependencies: webview_flutter: ^4.10.0 flutter_easyloading: ^3.0.5 package_info_plus: ^8.3.0 - file_picker: ^8.0.0+1 + file_picker: ^10.1.5 haptic_feedback: ^0.5.1+1 tencentcloud_cos_sdk_plugin: ^1.2.3 From 9a22a33742f837ac0c7af12447ac94fc605844cf Mon Sep 17 00:00:00 2001 From: liwei1dao Date: Tue, 13 May 2025 19:41:59 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=9C=8D=E5=8A=A1?= =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/modules/pairing/controllers/pairing_controller.dart | 3 +++ .../com/yunqiinnovation/azure_speech/AzureAsrHelper.kt | 5 ++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/lib/modules/pairing/controllers/pairing_controller.dart b/lib/modules/pairing/controllers/pairing_controller.dart index 98d7df449..7a65da691 100644 --- a/lib/modules/pairing/controllers/pairing_controller.dart +++ b/lib/modules/pairing/controllers/pairing_controller.dart @@ -235,6 +235,9 @@ class PairingController extends GetxController { } _updateStatusDescription(); }); + if (needdeivice) { + _handleDeviceConnected(); + } } /// 处理设备连接成功事件 diff --git a/local_plugins/azure_speech/android/src/main/kotlin/com/yunqiinnovation/azure_speech/AzureAsrHelper.kt b/local_plugins/azure_speech/android/src/main/kotlin/com/yunqiinnovation/azure_speech/AzureAsrHelper.kt index a30bfdb36..54a68eb56 100644 --- a/local_plugins/azure_speech/android/src/main/kotlin/com/yunqiinnovation/azure_speech/AzureAsrHelper.kt +++ b/local_plugins/azure_speech/android/src/main/kotlin/com/yunqiinnovation/azure_speech/AzureAsrHelper.kt @@ -606,9 +606,8 @@ class AzureAsrHelper(private val context: Context) { val sessionId = audioRecord?.audioSessionId ?: return // 回音消除 - echoCanceler = AcousticEchoCanceler.create(sessionId).apply { - enabled = true - } + echoCanceler = AcousticEchoCanceler.create(sessionId) + echoCanceler?.enabled = true; } /**