This commit is contained in:
parent
a7ccec704f
commit
8da3e5c6ba
|
|
@ -161,7 +161,7 @@ const Meeting: React.FC = () => {
|
||||||
sourceType: VideoSourceType.VideoSourceCameraPrimary,
|
sourceType: VideoSourceType.VideoSourceCameraPrimary,
|
||||||
})
|
})
|
||||||
getShowUser();
|
getShowUser();
|
||||||
}, 1000);
|
}, 2000);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onUserJoined: async (info: any, remoteUid: any, _elapsed: any) => {
|
onUserJoined: async (info: any, remoteUid: any, _elapsed: any) => {
|
||||||
|
|
@ -174,7 +174,7 @@ const Meeting: React.FC = () => {
|
||||||
view: document.getElementById(`video-${remoteUid}`),
|
view: document.getElementById(`video-${remoteUid}`),
|
||||||
channelId: info.channelId,
|
channelId: info.channelId,
|
||||||
})
|
})
|
||||||
}, 1000);
|
}, 2000);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onUserOffline: async (_info: any, remoteUid: any, _reason: any) => {
|
onUserOffline: async (_info: any, remoteUid: any, _reason: any) => {
|
||||||
|
|
@ -522,7 +522,7 @@ const Meeting: React.FC = () => {
|
||||||
sourceType: VideoSourceType.VideoSourceScreen,
|
sourceType: VideoSourceType.VideoSourceScreen,
|
||||||
})
|
})
|
||||||
setClickCurrentLookUserStatus(true)
|
setClickCurrentLookUserStatus(true)
|
||||||
}, 1000);
|
}, 2000);
|
||||||
} else {
|
} else {
|
||||||
// 摄像头
|
// 摄像头
|
||||||
setCurrentLookUserStatus(1)
|
setCurrentLookUserStatus(1)
|
||||||
|
|
@ -534,7 +534,7 @@ const Meeting: React.FC = () => {
|
||||||
sourceType: VideoSourceType.VideoSourceCameraPrimary,
|
sourceType: VideoSourceType.VideoSourceCameraPrimary,
|
||||||
})
|
})
|
||||||
setClickCurrentLookUserStatus(true)
|
setClickCurrentLookUserStatus(true)
|
||||||
}, 1000);
|
}, 2000);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if (String(uid).length === 9) {
|
if (String(uid).length === 9) {
|
||||||
|
|
@ -547,7 +547,7 @@ const Meeting: React.FC = () => {
|
||||||
channelId: state.channelId,
|
channelId: state.channelId,
|
||||||
})
|
})
|
||||||
setClickCurrentLookUserStatus(true)
|
setClickCurrentLookUserStatus(true)
|
||||||
}, 1000);
|
}, 2000);
|
||||||
} else {
|
} else {
|
||||||
// 摄像头
|
// 摄像头
|
||||||
setCurrentLookUserStatus(4)
|
setCurrentLookUserStatus(4)
|
||||||
|
|
@ -558,7 +558,7 @@ const Meeting: React.FC = () => {
|
||||||
channelId: state.channelId,
|
channelId: state.channelId,
|
||||||
})
|
})
|
||||||
setClickCurrentLookUserStatus(true)
|
setClickCurrentLookUserStatus(true)
|
||||||
}, 1000);
|
}, 2000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}, 1000)
|
}, 1000)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue