yangjie #46

Merged
yangqiang merged 15 commits from yangjie into master 2025-01-03 10:43:27 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit d0ca3c9321 - Show all commits

View File

@ -1753,7 +1753,7 @@ const Meeting: React.FC = () => {
} }
// 获取桌面可共享屏幕的引用 // 获取桌面可共享屏幕的引用
const getDesktopCapturerVideo = (): void => { 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) => { res.forEach((item: any, index: number) => {
if (item.type === 1) { if (item.type === 1) {
item.sourceTitle = '桌面' + (index + 1) item.sourceTitle = '桌面' + (index + 1)