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();
|
||||
|
||||
// 将输入流转换为字节数组
|
||||
|
||||
Reference in New Issue
Block a user