This commit is contained in:
parent
e4f57d216f
commit
f4c8ee36b0
|
|
@ -648,6 +648,10 @@ Page({
|
||||||
|
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
|
// 共享人取消共享屏幕
|
||||||
|
case 'StopedSharedScreen':
|
||||||
|
this.getShowUser()
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
|
||||||
|
|
@ -223,6 +223,13 @@ export const onSignalr = (callBack: Function) => {
|
||||||
contentString
|
contentString
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
// 共享人取消共享屏幕
|
||||||
|
connection.on("StopedSharedScreen", (ScreenShareId) => {
|
||||||
|
callBack({
|
||||||
|
key: 'StopedSharedScreen',
|
||||||
|
ScreenShareId
|
||||||
|
})
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
export const onStop = async () => {
|
export const onStop = async () => {
|
||||||
|
|
@ -282,6 +289,7 @@ export const offSignalr = () => {
|
||||||
connection.off('ModifyNickName');
|
connection.off('ModifyNickName');
|
||||||
connection.off('SetSpeaker');
|
connection.off('SetSpeaker');
|
||||||
connection.off('ReceivedOperation');
|
connection.off('ReceivedOperation');
|
||||||
|
connection.off('StopedSharedScreen');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue