From 76e968322db093952ff4c088c32c30a7af5e91bb Mon Sep 17 00:00:00 2001
From: yj <1336058017@qq.com>
Date: Wed, 5 Mar 2025 09:59:39 +0800
Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E9=99=A4=E5=A4=9A=E4=BD=99=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/StupWizard/index.tsx | 21 +++++++++++----------
vite.config.ts | 6 ++++--
2 files changed, 15 insertions(+), 12 deletions(-)
diff --git a/src/components/StupWizard/index.tsx b/src/components/StupWizard/index.tsx
index 63d8d81..ecea4aa 100644
--- a/src/components/StupWizard/index.tsx
+++ b/src/components/StupWizard/index.tsx
@@ -728,7 +728,18 @@ const AudioComponents = () => {
ecordingVolume: e,
})
}} disabled={!audioDeviceManager.ecordingItem} />
+ {/* || audioDeviceManager.autoEcordingVolume */}
+ {/*
+ {
+ setting.autoEcordingVolume = e.target.checked;
+ storage.setItem('setting', JSON.stringify(setting))
+ setAudioDeviceManager({
+ ...audioDeviceManager,
+ autoEcordingVolume: e.target.checked
+ })
+ }} checked={audioDeviceManager.autoEcordingVolume}>自动调整麦克风音量
+
*/}
{
@@ -761,16 +772,6 @@ const AudioComponents = () => {
- {/*
- {
- setting.autoEcordingVolume = e.target.checked;
- storage.setItem('setting', JSON.stringify(setting))
- setAudioDeviceManager({
- ...audioDeviceManager,
- autoEcordingVolume: e.target.checked
- })
- }} checked={audioDeviceManager.autoEcordingVolume}>自动调整麦克风音量
-
*/}
diff --git a/vite.config.ts b/vite.config.ts
index 7606db2..c700f85 100644
--- a/vite.config.ts
+++ b/vite.config.ts
@@ -77,7 +77,8 @@ export default defineConfig({
LowlightEnhanceOptions,
VirtualBackgroundSource,
AudienceLatencyLevelType,
- StreamPublishState
+ StreamPublishState,
+ IMediaEngine
} = require("agora-electron-sdk")
export {
createAgoraRtcEngine,
@@ -103,7 +104,8 @@ export default defineConfig({
LowlightEnhanceOptions,
VirtualBackgroundSource,
AudienceLatencyLevelType,
- StreamPublishState
+ StreamPublishState,
+ IMediaEngine
}
`,
})