From e88f5ee074e2df91130eb2b7df3cc41db734c722 Mon Sep 17 00:00:00 2001 From: tanlongsheng <252620078@qq.com> Date: Wed, 10 Dec 2025 19:10:49 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E8=AE=AF=E9=A3=9E=E8=AF=AD?= =?UTF-8?q?=E9=9F=B3=E8=AF=86=E5=88=AB?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../kotlin/com/yunqiinnovation/azure_speech/XunFeiAsrHelper.kt | 1 - .../ios/azure_speech/Sources/azure_speech/XunFeiAsrHelper.swift | 1 - 2 files changed, 2 deletions(-) diff --git a/local_plugins/azure_speech/android/src/main/kotlin/com/yunqiinnovation/azure_speech/XunFeiAsrHelper.kt b/local_plugins/azure_speech/android/src/main/kotlin/com/yunqiinnovation/azure_speech/XunFeiAsrHelper.kt index 80326614b..c48bfbb76 100644 --- a/local_plugins/azure_speech/android/src/main/kotlin/com/yunqiinnovation/azure_speech/XunFeiAsrHelper.kt +++ b/local_plugins/azure_speech/android/src/main/kotlin/com/yunqiinnovation/azure_speech/XunFeiAsrHelper.kt @@ -75,7 +75,6 @@ class XunFeiAsrHelper(private val context: Context) { currentLanguage } callback.onResult(currentSessionId, lastIntermediateResult, detectedLanguage) - currentSessionId = "" } callback.onSessionStopped(currentSessionId) } diff --git a/local_plugins/azure_speech/ios/azure_speech/Sources/azure_speech/XunFeiAsrHelper.swift b/local_plugins/azure_speech/ios/azure_speech/Sources/azure_speech/XunFeiAsrHelper.swift index 19aa162fe..44ece0896 100644 --- a/local_plugins/azure_speech/ios/azure_speech/Sources/azure_speech/XunFeiAsrHelper.swift +++ b/local_plugins/azure_speech/ios/azure_speech/Sources/azure_speech/XunFeiAsrHelper.swift @@ -106,7 +106,6 @@ class XunFeiAsrHelper: NSObject, URLSessionWebSocketDelegate { if !currentSessionId.isEmpty && !lastIntermediateResult.isEmpty { let detectedLanguage = detectLanguage(from: lastIntermediateResult) callback?.onResult(sessionid: currentSessionId, lastIntermediateResult, detectedLanguage) - currentSessionId = "" } callback?.onSessionStopped(sessionid: currentSessionId) }