yangjie #46
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue