注释音视频通话

This commit is contained in:
bobobobo
2026-01-29 23:17:37 +08:00
parent 256135f15b
commit bccfb8a4e0
3 changed files with 18 additions and 45 deletions

View File

@@ -1,6 +1,6 @@
<template> <template>
<div class="chat" :style="{ marginBottom: keywordHight + 'px' }"> <div class="chat" :style="{ marginBottom: keywordHight + 'px' }">
<TUICallKit></TUICallKit> <!-- <TUICallKit></TUICallKit> -->
<div :class="['tui-chat', !isPC && 'tui-chat-h5']"> <div :class="['tui-chat', !isPC && 'tui-chat-h5']">
<div <div
v-if="!currentConversationID" v-if="!currentConversationID"
@@ -103,7 +103,7 @@
TUIConstants, TUIConstants,
ExtensionInfo ExtensionInfo
} from '@tencentcloud/tui-core-lite' } from '@tencentcloud/tui-core-lite'
import { TUICallKit } from '@trtc/calls-uikit-vue' // import { TUICallKit } from '@trtc/calls-uikit-vue'
import ChatHeader from './chat-header/index.vue' import ChatHeader from './chat-header/index.vue'
import MessageList from './message-list/index.vue' import MessageList from './message-list/index.vue'
import MessageInput from './message-input/index.vue' import MessageInput from './message-input/index.vue'

58
package-lock.json generated
View File

@@ -13,7 +13,6 @@
"@tencentcloud/chat-uikit-uniapp": "3.1.0", "@tencentcloud/chat-uikit-uniapp": "3.1.0",
"@tencentcloud/tui-core-lite": "1.0.0", "@tencentcloud/tui-core-lite": "1.0.0",
"@tencentcloud/universal-api": "^2.4.0", "@tencentcloud/universal-api": "^2.4.0",
"@trtc/calls-uikit-vue": "^4.4.2",
"dayjs": "^1.11.10", "dayjs": "^1.11.10",
"unplugin-vue2-script-setup": "^0.11.4" "unplugin-vue2-script-setup": "^0.11.4"
} }
@@ -767,46 +766,15 @@
} }
}, },
"node_modules/@trtc/calls-uikit-vue": { "node_modules/@trtc/calls-uikit-vue": {
"version": "4.4.2", "version": "4.2.2",
"resolved": "https://repo.huaweicloud.com/repository/npm/@trtc/calls-uikit-vue/-/calls-uikit-vue-4.4.2.tgz", "resolved": "https://repo.huaweicloud.com/repository/npm/@trtc/calls-uikit-vue/-/calls-uikit-vue-4.2.2.tgz",
"integrity": "sha512-a5oaNSO4qN0FSsDb65Kl9BEghDdWV0l5RdjMgaWEjrqNVVCuz7p5s7/6AYaB78dpdsIC9U9FXTVbM2+u79r4zw==", "integrity": "sha512-xAHBo2RXb/PDCcd07sdftgE2HtiW3QC3hXY8g5yWfTkJ3WIPfDi5OsG9lti0KgzF9ZnfMf4i08ptAoC3k72iHQ==",
"license": "ISC", "license": "ISC",
"peer": true,
"dependencies": { "dependencies": {
"@tencentcloud/lite-chat": "^1.6.3", "@tencentcloud/lite-chat": "^1.5.0",
"@tencentcloud/tui-core-lite": "1.0.0", "@tencentcloud/tui-core-lite": "1.0.0",
"@trtc/call-engine-lite-js": "~3.5.0" "@trtc/call-engine-lite-js": "~3.4.0"
}
},
"node_modules/@trtc/calls-uikit-vue/node_modules/@trtc/call-engine-lite-js": {
"version": "3.5.2",
"resolved": "https://repo.huaweicloud.com/repository/npm/@trtc/call-engine-lite-js/-/call-engine-lite-js-3.5.2.tgz",
"integrity": "sha512-qwZTOO99dYIlGTrg++iVmxTSZzQ3yHyJ2NvOyibCttgQG2By3fJZNYN1thk7JG3C96FcCZ3+pjGqfRheG79pMA==",
"license": "ISC",
"dependencies": {
"@tencentcloud/lite-chat": "^1.6.3",
"core-js": "^3.8.3",
"eventemitter3": "^4.0.7",
"rtc-detect": "^0.0.5",
"trtc-cloud-js-sdk": "2.10.10",
"tuikit-logger": "latest"
}
},
"node_modules/@trtc/calls-uikit-vue/node_modules/trtc-cloud-js-sdk": {
"version": "2.10.10",
"resolved": "https://repo.huaweicloud.com/repository/npm/trtc-cloud-js-sdk/-/trtc-cloud-js-sdk-2.10.10.tgz",
"integrity": "sha512-nYBR4bQnwMCrXeOuN+ih8OgPjYd4JynBatVWHPa5h/PGdeHuldpN0Fi+4f0+ybJ0SYY82ksFetNAh6888rXSOA==",
"license": "ISC",
"dependencies": {
"trtc-sdk-v5": "5.15.1-beta.8"
}
},
"node_modules/@trtc/calls-uikit-vue/node_modules/trtc-sdk-v5": {
"version": "5.15.1-beta.8",
"resolved": "https://repo.huaweicloud.com/repository/npm/trtc-sdk-v5/-/trtc-sdk-v5-5.15.1-beta.8.tgz",
"integrity": "sha512-3u5P3O9aS33Ja+HFTDiFF6/hkq7+KlfslnInSyYeHuAr5b6p26k6rBn3PZ6kXf+onzQhnCV1q2mMPePKgkomig==",
"license": "ISC",
"dependencies": {
"webrtc-adapter": "^8.2.3"
} }
}, },
"node_modules/@trtc/calls-uikit-vue2.6": { "node_modules/@trtc/calls-uikit-vue2.6": {
@@ -1405,6 +1373,7 @@
"integrity": "sha512-c3Q2VVkGAUyupsjRnaNX6u8Dq2vAdzm9iuPj5FW0fRxzlxgq9Q39MDq10IvmQSpLgHQNyQzQmOo6bgGHmH3NNg==", "integrity": "sha512-c3Q2VVkGAUyupsjRnaNX6u8Dq2vAdzm9iuPj5FW0fRxzlxgq9Q39MDq10IvmQSpLgHQNyQzQmOo6bgGHmH3NNg==",
"hasInstallScript": true, "hasInstallScript": true,
"license": "MIT", "license": "MIT",
"peer": true,
"funding": { "funding": {
"type": "opencollective", "type": "opencollective",
"url": "https://opencollective.com/core-js" "url": "https://opencollective.com/core-js"
@@ -1573,7 +1542,8 @@
"version": "4.0.7", "version": "4.0.7",
"resolved": "https://repo.huaweicloud.com/repository/npm/eventemitter3/-/eventemitter3-4.0.7.tgz", "resolved": "https://repo.huaweicloud.com/repository/npm/eventemitter3/-/eventemitter3-4.0.7.tgz",
"integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==", "integrity": "sha512-8guHBZCwKnFhYdHr2ysuRWErTwhoN2X8XELRlrRwpmfeY2jjuUN4taQMsULKUVo1K4DvZl+0pgfyoysHxvmvEw==",
"license": "MIT" "license": "MIT",
"peer": true
}, },
"node_modules/events": { "node_modules/events": {
"version": "3.3.0", "version": "3.3.0",
@@ -1999,7 +1969,8 @@
"version": "0.0.5", "version": "0.0.5",
"resolved": "https://repo.huaweicloud.com/repository/npm/rtc-detect/-/rtc-detect-0.0.5.tgz", "resolved": "https://repo.huaweicloud.com/repository/npm/rtc-detect/-/rtc-detect-0.0.5.tgz",
"integrity": "sha512-VANIELbaoIkZRj4gyiCCbTM+/ASy0eNgF35jCs+rrGxzYvD7YIBajEbGGZeh+5ZCNAX8/rT8IVRdpuallf174Q==", "integrity": "sha512-VANIELbaoIkZRj4gyiCCbTM+/ASy0eNgF35jCs+rrGxzYvD7YIBajEbGGZeh+5ZCNAX8/rT8IVRdpuallf174Q==",
"license": "ISC" "license": "ISC",
"peer": true
}, },
"node_modules/safe-buffer": { "node_modules/safe-buffer": {
"version": "5.2.1", "version": "5.2.1",
@@ -2101,7 +2072,8 @@
"version": "3.2.1", "version": "3.2.1",
"resolved": "https://repo.huaweicloud.com/repository/npm/sdp/-/sdp-3.2.1.tgz", "resolved": "https://repo.huaweicloud.com/repository/npm/sdp/-/sdp-3.2.1.tgz",
"integrity": "sha512-lwsAIzOPlH8/7IIjjz3K0zYBk7aBVVcvjMwt3M4fLxpjMYyy7i3I97SLHebgn4YBjirkzfp3RvRDWSKsh/+WFw==", "integrity": "sha512-lwsAIzOPlH8/7IIjjz3K0zYBk7aBVVcvjMwt3M4fLxpjMYyy7i3I97SLHebgn4YBjirkzfp3RvRDWSKsh/+WFw==",
"license": "MIT" "license": "MIT",
"peer": true
}, },
"node_modules/semver": { "node_modules/semver": {
"version": "6.3.1", "version": "6.3.1",
@@ -2349,7 +2321,8 @@
"version": "0.0.4-beta.1", "version": "0.0.4-beta.1",
"resolved": "https://repo.huaweicloud.com/repository/npm/tuikit-logger/-/tuikit-logger-0.0.4-beta.1.tgz", "resolved": "https://repo.huaweicloud.com/repository/npm/tuikit-logger/-/tuikit-logger-0.0.4-beta.1.tgz",
"integrity": "sha512-Ky83B1p88xakmfZ2f92cU0YxfolyxnQBv14tQpvnuHcMTnVR2Rjy8tityDGwF+pnxrAhJ7H7OPB/4rFdWVncIw==", "integrity": "sha512-Ky83B1p88xakmfZ2f92cU0YxfolyxnQBv14tQpvnuHcMTnVR2Rjy8tityDGwF+pnxrAhJ7H7OPB/4rFdWVncIw==",
"license": "ISC" "license": "ISC",
"peer": true
}, },
"node_modules/typescript": { "node_modules/typescript": {
"version": "4.9.5", "version": "4.9.5",
@@ -2607,6 +2580,7 @@
"resolved": "https://repo.huaweicloud.com/repository/npm/webrtc-adapter/-/webrtc-adapter-8.2.4.tgz", "resolved": "https://repo.huaweicloud.com/repository/npm/webrtc-adapter/-/webrtc-adapter-8.2.4.tgz",
"integrity": "sha512-VwtwbYNKnVQW8koB9qb8YcxNwpSVHTvvKEZLzY6uQ3gFrA9E87VPbB5xE+m1AGwUjL1UgN35jRR9hQgteZI5bg==", "integrity": "sha512-VwtwbYNKnVQW8koB9qb8YcxNwpSVHTvvKEZLzY6uQ3gFrA9E87VPbB5xE+m1AGwUjL1UgN35jRR9hQgteZI5bg==",
"license": "BSD-3-Clause", "license": "BSD-3-Clause",
"peer": true,
"dependencies": { "dependencies": {
"sdp": "^3.2.0" "sdp": "^3.2.0"
}, },

View File

@@ -14,7 +14,6 @@
"@tencentcloud/chat-uikit-uniapp": "3.1.0", "@tencentcloud/chat-uikit-uniapp": "3.1.0",
"@tencentcloud/tui-core-lite": "1.0.0", "@tencentcloud/tui-core-lite": "1.0.0",
"@tencentcloud/universal-api": "^2.4.0", "@tencentcloud/universal-api": "^2.4.0",
"@trtc/calls-uikit-vue": "^4.4.2",
"dayjs": "^1.11.10", "dayjs": "^1.11.10",
"unplugin-vue2-script-setup": "^0.11.4" "unplugin-vue2-script-setup": "^0.11.4"
} }