From f053a5e73a02281291904510fe5dd6d7cf06c622 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=94=B0=E5=B2=A9?= Date: Fri, 27 Mar 2026 10:57:54 +0800 Subject: [PATCH] =?UTF-8?q?JLBA202505130001=5F=E5=85=B3=E4=BA=8E=E5=90=89?= =?UTF-8?q?=E6=9E=97=E9=93=B6=E8=A1=8C=E6=96=B0=E5=BB=BAAI=E6=99=BA?= =?UTF-8?q?=E8=83=BD=E5=9F=B9=E8=AE=AD=E7=B3=BB=E7=BB=9F=E7=9A=84=E9=9C=80?= =?UTF-8?q?=E6=B1=82=5F=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE=E6=96=87?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .env.development | 4 ++-- src/components/touch-btn/touch-btn.vue | 1 + src/uni_modules/ty-camera/utssdk/app-android/config.json | 2 +- src/uni_modules/ty-recording/utssdk/app-android/config.json | 2 +- src/uni_modules/ty-recording/utssdk/app-android/index.uts | 1 + 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/.env.development b/.env.development index 31bfa230..efc9bb8b 100644 --- a/.env.development +++ b/.env.development @@ -2,11 +2,11 @@ ENV = 'development' # 'development' -VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001' +#VITE_APP_BASE_API_Url = 'https://aits.jlbank.com.cn:7001' -#VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7002' +VITE_APP_BASE_API_Url = 'https://aitstest.jlbank.com.cn:7001' # DEV diff --git a/src/components/touch-btn/touch-btn.vue b/src/components/touch-btn/touch-btn.vue index c834cd96..14d08f71 100644 --- a/src/components/touch-btn/touch-btn.vue +++ b/src/components/touch-btn/touch-btn.vue @@ -396,6 +396,7 @@ }); startAudioRecord({ onFrame: (pcmData: any) => { + console.log('pcmData', pcmData.length); if (wsStatus.value && ws.value) { if (voiceQueue.length > 0) { voiceQueue.forEach((cachedData) => { diff --git a/src/uni_modules/ty-camera/utssdk/app-android/config.json b/src/uni_modules/ty-camera/utssdk/app-android/config.json index d8dd7740..d159b364 100644 --- a/src/uni_modules/ty-camera/utssdk/app-android/config.json +++ b/src/uni_modules/ty-camera/utssdk/app-android/config.json @@ -1,3 +1,3 @@ { - "minSdkVersion": "35" + "minSdkVersion": "29" } \ No newline at end of file diff --git a/src/uni_modules/ty-recording/utssdk/app-android/config.json b/src/uni_modules/ty-recording/utssdk/app-android/config.json index ee37d455..d159b364 100644 --- a/src/uni_modules/ty-recording/utssdk/app-android/config.json +++ b/src/uni_modules/ty-recording/utssdk/app-android/config.json @@ -1,3 +1,3 @@ { - "minSdkVersion": "22" + "minSdkVersion": "29" } \ No newline at end of file diff --git a/src/uni_modules/ty-recording/utssdk/app-android/index.uts b/src/uni_modules/ty-recording/utssdk/app-android/index.uts index b4699124..d74b4eba 100644 --- a/src/uni_modules/ty-recording/utssdk/app-android/index.uts +++ b/src/uni_modules/ty-recording/utssdk/app-android/index.uts @@ -61,6 +61,7 @@ export function startAudioRecord(options : StartAudioRecordOptions) : void { // const lastVolume = calculateVolumeLight(buffer, readSize); // console.log('lastVolume', lastVolume); + options.onFrame?.(data) }