From 51f961b054988e938c8496e0ed1fe40dd4aaa1db Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Sat, 2 Nov 2024 18:24:16 +0800 Subject: [PATCH] update --- .gitignore | 5 ++ Web/html/body/video.html | 82 ++++++++++++------- Web/js/httpUtils.js | 3 + Web/js/mpegts.js | 9 ++ .../bean/live/database/LiveGuardBuyBean.java | 55 +++++++++++++ .../database/LiveSuperChatDatabaseBean.java | 6 +- .../biliapi/bean/websocket/live/WSData.java | 1 + .../bean/websocket/live/WSGuardBuy.java | 4 +- .../websocket/live/WSSuperChatMessage.java | 18 +++- .../biliapi/databases/BiliLiveDatabase.java | 19 ++++- .../Controllers/LiveDanmuController.java | 7 +- .../Controllers/VideoFileController.java | 16 ++-- .../yutou/bilibili/Tools/DateFormatUtils.java | 4 + .../yutou/bilibili/datas/VideoFilePath.java | 3 +- .../bilibili/services/LiveDanmuService.java | 14 ++-- .../services/LiveVideoDownloadService.java | 71 ++++++++++------ .../yutou/common/databases/SQLiteManager.java | 20 ++++- .../com/yutou/common/utils/FFmpegUtils.java | 57 +++++++++---- 18 files changed, 298 insertions(+), 96 deletions(-) create mode 100644 Web/js/mpegts.js create mode 100644 src/main/java/com/yutou/biliapi/bean/live/database/LiveGuardBuyBean.java diff --git a/.gitignore b/.gitignore index 549e00a..39d4fa8 100644 --- a/.gitignore +++ b/.gitignore @@ -31,3 +31,8 @@ build/ ### VS Code ### .vscode/ + +### dir ### +/live/ +/databases/ +/cache/ \ No newline at end of file diff --git a/Web/html/body/video.html b/Web/html/body/video.html index 539f7fc..6412430 100644 --- a/Web/html/body/video.html +++ b/Web/html/body/video.html @@ -10,43 +10,57 @@ -
- +
+ +
+
+ +
+
- - + + +