From b13ccd0be5f054397c66dbcde1264f34e47953ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8D=A3=E9=A1=B6?= Date: Tue, 15 Aug 2023 18:46:45 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=9B=B4=E6=96=B0p2p=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=BC=A0=E8=BE=93=E6=9D=BF=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/page/webRTC/file-transfer.vue | 334 ++++++++++++++++++++++++++ src/router/modules/audio-and-video.ts | 5 + 2 files changed, 339 insertions(+) create mode 100644 src/page/webRTC/file-transfer.vue diff --git a/src/page/webRTC/file-transfer.vue b/src/page/webRTC/file-transfer.vue new file mode 100644 index 0000000..c9e1e0a --- /dev/null +++ b/src/page/webRTC/file-transfer.vue @@ -0,0 +1,334 @@ + + + diff --git a/src/router/modules/audio-and-video.ts b/src/router/modules/audio-and-video.ts index b6f81e9..d12834b 100644 --- a/src/router/modules/audio-and-video.ts +++ b/src/router/modules/audio-and-video.ts @@ -39,6 +39,11 @@ export const audioAndVideo: RouteRecordRaw[] = [ meta: { title: '音视频通话-信令p2p' }, component: () => import('@/page/webRTC/signaling-p2p.vue'), }, + { + path: '/audio-and-video/webRTC/file-transfer', + meta: { title: 'P2P文件快传' }, + component: () => import('@/page/webRTC/file-transfer.vue'), + }, ], }, ],