This commit is contained in:
2024-11-03 19:54:13 +08:00
parent 3b190b8a44
commit 3e694a43cc
5 changed files with 19 additions and 48 deletions

View File

@@ -180,7 +180,7 @@ public class WebSocketManager {
@Override
public void onMessage(ByteBuffer bytes) {
Log.i("WebSocketClientTh.onMessage: " + roomConfig.getAnchorName());
// Log.i("WebSocketClientTh.onMessage: " + roomConfig.getAnchorName());
super.onMessage(bytes);
decompress(bytes.array());
}
@@ -223,7 +223,7 @@ public class WebSocketManager {
}
private void danmu(byte[] bytes) {
Log.i("未压缩:" + new String(bytes));
//Log.i("未压缩:" + new String(bytes));
}
private void unzipDanmu(byte[] bytes, boolean useHeader) {

View File

@@ -74,7 +74,6 @@ public class VideoFileController {
public String getTmpImg(String url) {
try {
// 获取图片流
System.out.println("url = " + url);
InputStream inputStream = new URL(url).openStream();
// 将输入流转换为字节数组

View File

@@ -0,0 +1 @@
server.port=8880

View File

@@ -1,10 +0,0 @@
server.port=8001
spring.datasource.url=jdbc:mysql://127.0.0.1/database?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=UTC&allowPublicKeyRetrieval=true&serverTimezone=GMT%2B8&autoReconnect=true
spring.datasource.username=user
spring.datasource.password=password
mybatis.mapper-locations=classpath:mappers/*.xml
#mybatis.config-location=classpath:mybatis-config.xml
mybatis.type-aliases-package=com.yutou.tools.mybatis
#logging.level.com.yutou.bilibili=debug