隐藏自动调整麦克风
This commit is contained in:
parent
9e6a862d49
commit
c7189dd63e
|
|
@ -731,7 +731,7 @@ const AudioComponents = () => {
|
||||||
})
|
})
|
||||||
}} disabled={!audioDeviceManager.ecordingItem} />
|
}} disabled={!audioDeviceManager.ecordingItem} />
|
||||||
</div>
|
</div>
|
||||||
<div style={{ marginBottom: '10px' }}>
|
{/* <div style={{ marginBottom: '10px' }}>
|
||||||
<Checkbox onChange={async (e) => {
|
<Checkbox onChange={async (e) => {
|
||||||
setting.autoEcordingVolume = e.target.checked;
|
setting.autoEcordingVolume = e.target.checked;
|
||||||
storage.setItem('setting', JSON.stringify(setting))
|
storage.setItem('setting', JSON.stringify(setting))
|
||||||
|
|
@ -740,7 +740,7 @@ const AudioComponents = () => {
|
||||||
autoEcordingVolume: e.target.checked
|
autoEcordingVolume: e.target.checked
|
||||||
})
|
})
|
||||||
}} checked={audioDeviceManager.autoEcordingVolume}>自动调整麦克风音量</Checkbox>
|
}} checked={audioDeviceManager.autoEcordingVolume}>自动调整麦克风音量</Checkbox>
|
||||||
</div>
|
</div> */}
|
||||||
<div>
|
<div>
|
||||||
<div>
|
<div>
|
||||||
<Checkbox checked={audioDeviceManager.isAINoiseReduction} onChange={(e) => {
|
<Checkbox checked={audioDeviceManager.isAINoiseReduction} onChange={(e) => {
|
||||||
|
|
|
||||||
|
|
@ -1427,11 +1427,11 @@ const Meeting: React.FC = () => {
|
||||||
const percentage = (item.volume / 255) * 100
|
const percentage = (item.volume / 255) * 100
|
||||||
if (domMe) {
|
if (domMe) {
|
||||||
domMe.style.height = `${percentage}%`
|
domMe.style.height = `${percentage}%`
|
||||||
if (item.volume > 180) {
|
// if (item.volume > 180) {
|
||||||
agora.adjustRecordingSignalVolume(60)
|
// agora.adjustRecordingSignalVolume(60)
|
||||||
} else {
|
// } else {
|
||||||
agora.adjustRecordingSignalVolume(100)
|
// agora.adjustRecordingSignalVolume(100)
|
||||||
}
|
// }
|
||||||
}
|
}
|
||||||
window.electron.windowHandleMessage({
|
window.electron.windowHandleMessage({
|
||||||
key: 'shareScreenWindow',
|
key: 'shareScreenWindow',
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue