优化音视频通话
This commit is contained in:
@@ -361,23 +361,8 @@
|
||||
)
|
||||
currentConversationID.value = conversationID
|
||||
}
|
||||
|
||||
// #ifdef APP-PLUS
|
||||
CallLib.init({})
|
||||
CallLib.onCallReceived(res => {
|
||||
console.log(
|
||||
'Engine:OnCallReceived=>' + '监听通话呼入, 目标id=>',
|
||||
res.data
|
||||
)
|
||||
if (res.data.targetId) {
|
||||
navigateTo('/pages/room/incom', {
|
||||
type: res.data.extra,
|
||||
userID: res.data.targetId
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
// #endif
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
<style scoped lang="scss" src="./style/index.scss"></style>
|
||||
|
||||
Reference in New Issue
Block a user