From d53cd6a1cc56404c9ec34416194639b5223dacd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?whalensun=28=E5=AD=99=E4=BC=9F=29?= <532125505@qq.com> Date: Thu, 11 Jan 2024 16:14:11 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=A0=B7=E5=BC=80=E5=90=AF=E8=B0=83?= =?UTF-8?q?=E7=94=A8=E7=B3=BB=E7=BB=9F=E7=9A=843A=E8=83=BD=E5=8A=9B?= =?UTF-8?q?=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I8ca052eba79164ef3d6461bf424d3c710233ab77 --- .../tencent/iot/video/link/util/audio/AudioRecordUtil.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/video-link-android/src/main/java/com/tencent/iot/video/link/util/audio/AudioRecordUtil.java b/sdk/video-link-android/src/main/java/com/tencent/iot/video/link/util/audio/AudioRecordUtil.java index b5adf2997..5dce097ac 100644 --- a/sdk/video-link-android/src/main/java/com/tencent/iot/video/link/util/audio/AudioRecordUtil.java +++ b/sdk/video-link-android/src/main/java/com/tencent/iot/video/link/util/audio/AudioRecordUtil.java @@ -186,8 +186,8 @@ public AudioRecordUtil(Context ctx, String id, int sampleRate, int channel, int context = ctx; deviceId = id; this.pitch = pitch; - this.enableAEC = false; - this.enableAGC = false; + this.enableAEC = true; + this.enableAGC = true; this.audioRecordUtilListener = audioRecordUtilListener; init(sampleRate, channel, bitDepth); readThread = new HandlerThread(TAG);