yangjie #41
|
|
@ -1628,6 +1628,14 @@ const Meeting: React.FC = () => {
|
||||||
// 分享屏幕
|
// 分享屏幕
|
||||||
const clickSharedScreen = async (): Promise<void> => {
|
const clickSharedScreen = async (): Promise<void> => {
|
||||||
let data = sharedScreenList.find((item: any) => item.sourceId === sharedScreenItem.sourceId)
|
let data = sharedScreenList.find((item: any) => item.sourceId === sharedScreenItem.sourceId)
|
||||||
|
const elements = document.querySelectorAll('.intersectionObserver-view');
|
||||||
|
if (elements.length) {
|
||||||
|
elements.forEach(item => {
|
||||||
|
if (item.id !== userInfo.uid) {
|
||||||
|
agora.muteRemoteVideoStreamEx(Number(item.id), true)
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
if (data) {
|
if (data) {
|
||||||
const footerListTemplate = [...footerList]
|
const footerListTemplate = [...footerList]
|
||||||
footerListTemplate[footerListIndex.itemIndex][footerListIndex.rowIndex].title = '停止共享'
|
footerListTemplate[footerListIndex.itemIndex][footerListIndex.rowIndex].title = '停止共享'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue