修复共享屏幕音频没动

This commit is contained in:
yj 2024-11-13 08:56:35 +08:00
parent 605e79c6d8
commit cbc58e4057
1 changed files with 4 additions and 2 deletions

View File

@ -989,9 +989,11 @@ const Meeting: React.FC = () => {
const percentage = (item.volume / 255) * 100 const percentage = (item.volume / 255) * 100
dom.style.height = `${percentage}%` dom.style.height = `${percentage}%`
} }
if (domMe && !item.uid) { if (!item.uid) {
const percentage = (item.volume / 255) * 100 const percentage = (item.volume / 255) * 100
domMe.style.height = `${percentage}%` if (domMe) {
domMe.style.height = `${percentage}%`
}
window.electron.windowHandleMessage({ window.electron.windowHandleMessage({
key: 'shareScreenWindow', key: 'shareScreenWindow',
parmes: { parmes: {