优化缩略图大小

This commit is contained in:
yj 2025-01-02 16:29:02 +08:00
parent 5c5780d150
commit d0ca3c9321
1 changed files with 1 additions and 1 deletions

View File

@ -1753,7 +1753,7 @@ const Meeting: React.FC = () => {
}
// 获取桌面可共享屏幕的引用
const getDesktopCapturerVideo = (): void => {
agora.getDesktopCapturerVideo({ width: 300, height: 300 }, { width: 300, height: 300 }, true).then((res: any) => {
agora.getDesktopCapturerVideo({ width: 50, height: 50 }, { width: 30, height: 30 }, true).then((res: any) => {
res.forEach((item: any, index: number) => {
if (item.type === 1) {
item.sourceTitle = '桌面' + (index + 1)