修复视频流滑动卡顿的问题

This commit is contained in:
juntao
2020-01-15 22:08:47 +08:00
parent 31c3ed3bc5
commit 554ec20493
8 changed files with 159 additions and 17 deletions

View File

@ -16,7 +16,7 @@ import com.gh.gamecenter.entity.GameEntity;
import com.gh.gamecenter.entity.SpecialColumn;
import com.gh.gamecenter.manager.UserManager;
import com.gh.gamecenter.qa.entity.Questions;
import com.gh.loghub.LogHubUtils;
import com.gh.loghub.LoghubUtils;
import com.halo.assistant.HaloApp;
import com.lightgame.download.DownloadEntity;
import com.lightgame.utils.Util_System_Phone_State;
@ -96,7 +96,7 @@ public class LogUtils {
if (BuildConfig.DEBUG) {
Utils.log("LogUtils->" + object.toString());
}
LogHubUtils.uploadLog(DeviceUtils.getIPAddress(context), object, "download_debug");
LoghubUtils.log(object, "download_debug", false);
}
public static void uploadCommunityArticle(String tracers, String articleId, String articleTitle, int readTime, CommunityEntity community, SpecialColumn specialColumn) {
@ -301,7 +301,7 @@ public class LogUtils {
}
// 暂时除了曝光外的数据都是扔到 community 这个库的,要是不是这个这个库的话这里要改一下
LogHubUtils.uploadLog(DeviceUtils.getIPAddress(context), object, "community");
LoghubUtils.log(object, "community", true);
}
/**
@ -325,7 +325,7 @@ public class LogUtils {
e.printStackTrace();
}
LogHubUtils.uploadLog(DeviceUtils.getIPAddress(context), object, "appointment");
LoghubUtils.log(object, "appointment", false);
}
private static void uploadVideoStreaming(JSONObject object) {
@ -355,7 +355,8 @@ public class LogUtils {
if (BuildConfig.DEBUG) {
Utils.log("LogUtils->" + object.toString());
}
LogHubUtils.uploadLog(DeviceUtils.getIPAddress(context), object, "video_streaming");
LoghubUtils.log(object, "video_streaming", false);
}
public static void uploadVideoStreamingEnter(String entrance, String entranceDetail, String videoId, String streamingId) {