From 6bad12dcdfc49fdd0a598b0ef15b23dc309142ef Mon Sep 17 00:00:00 2001 From: luyuan <1162963624@qq.com> Date: Wed, 21 Oct 2020 16:22:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=92=AD=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 2 + src/components/LivePlaying.vue | 6 +- src/components/LiveingWatcher.vue | 1 - src/types/index.d.ts | 3 - src/types/trtc-js-sdk.d.ts | 4 ++ src/views/regime/Liveing.vue | 103 ++++++++++++++++++++++++++++-- yarn.lock | 10 +++ 7 files changed, 115 insertions(+), 14 deletions(-) create mode 100644 src/types/trtc-js-sdk.d.ts diff --git a/package.json b/package.json index 705ab6f..66ffacc 100644 --- a/package.json +++ b/package.json @@ -9,11 +9,13 @@ }, "dependencies": { "@ant-design-vue/use": "^0.0.1-alpha.6", + "@types/trtc-js-sdk": "^4.3.0", "ant-design-vue": "^2.0.0-beta.9", "axios": "^0.20.0", "core-js": "^3.6.5", "dayjs": "^1.9.1", "postcss-pxtorem": "^5.1.1", + "trtc-js-sdk": "^4.6.5", "vod-js-sdk-v6": "^1.4.10", "vue": "^3.0.0-0", "vue-router": "^4.0.0-0", diff --git a/src/components/LivePlaying.vue b/src/components/LivePlaying.vue index 8d782d5..28a6bcd 100644 --- a/src/components/LivePlaying.vue +++ b/src/components/LivePlaying.vue @@ -1,6 +1,6 @@ \ No newline at end of file diff --git a/yarn.lock b/yarn.lock index ed1d596..5f9d663 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1148,6 +1148,11 @@ resolved "https://registry.npmjs.org/@types/tapable/-/tapable-1.0.6.tgz#a9ca4b70a18b270ccb2bc0aaafefd1d486b7ea74" integrity sha512-W+bw9ds02rAQaMvaLYxAbJ6cvguW/iJXNT6lTssS1ps6QdrMKttqEAMEG/b5CR8TZl3/L7/lH0ZV5nNR1LXikA== +"@types/trtc-js-sdk@^4.3.0": + version "4.3.0" + resolved "https://registry.npmjs.org/@types/trtc-js-sdk/-/trtc-js-sdk-4.3.0.tgz#8a3fd551861c25448c62021bbf8529e5061a2994" + integrity sha512-VYTe3dYLbT4hBG2pZQTRuuXketJethmix6ymIT1ExohkAOmOS4kYAuK1HUuG0HpxUWINlIC6vJ2T/RgVFH3c5g== + "@types/uglify-js@*": version "3.11.0" resolved "https://registry.npmjs.org/@types/uglify-js/-/uglify-js-3.11.0.tgz#2868d405cc45cd9dc3069179052103032c33afbc" @@ -9045,6 +9050,11 @@ trim-newlines@^1.0.0: resolved "https://registry.npm.taobao.org/trim-newlines/download/trim-newlines-1.0.0.tgz#5887966bb582a4503a41eb524f7d35011815a613" integrity sha1-WIeWa7WCpFA6QetST301ARgVphM= +trtc-js-sdk@^4.6.5: + version "4.6.5" + resolved "https://registry.npmjs.org/trtc-js-sdk/-/trtc-js-sdk-4.6.5.tgz#a093ccc9637a17f75403ae5e68ef1f193d513d39" + integrity sha512-ggRHhbGh9t32FKUZIJTIBQEcqT1nCTogpg0nzhUc0BtHuhDy1Gq8HA8f7EztV03Wqny7sbxL4k60IdEB9YY3EQ== + "true-case-path@^1.0.2": version "1.0.3" resolved "https://registry.npm.taobao.org/true-case-path/download/true-case-path-1.0.3.tgz#f813b5a8c86b40da59606722b144e3225799f47d" -- 2.39.5