共享桌面失败
This commit is contained in:
parent
9e1860c722
commit
16d4b3e73f
|
|
@ -197,7 +197,7 @@ const Meeting: React.FC = () => {
|
|||
}, 1000)
|
||||
getDesktopCapturerVideoTime = setInterval(() => {
|
||||
setSharedScreenItem((i: any) => {
|
||||
if (i) {
|
||||
if (i && i.type === 0) {
|
||||
agora.getDesktopCapturerVideo({ width: 0, height: 0 }, { width: 0, height: 0 }, false).then(res => {
|
||||
if (res.length) {
|
||||
let row = res.find((item: any) => item.sourceId === i.sourceId)
|
||||
|
|
|
|||
Loading…
Reference in New Issue