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/lib/modules/pairing/controllers/pairing_controller.dart b/lib/modules/pairing/controllers/pairing_controller.dart index 7ecf4e076..55311e0d0 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; } /** 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