update
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -74,7 +74,6 @@ public class VideoFileController {
|
||||
public String getTmpImg(String url) {
|
||||
try {
|
||||
// 获取图片流
|
||||
System.out.println("url = " + url);
|
||||
InputStream inputStream = new URL(url).openStream();
|
||||
|
||||
// 将输入流转换为字节数组
|
||||
|
||||
1
src/main/resources/application.properties
Normal file
1
src/main/resources/application.properties
Normal file
@@ -0,0 +1 @@
|
||||
server.port=8880
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user