优化缩略图大小
This commit is contained in:
parent
5c5780d150
commit
d0ca3c9321
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue