直播间loading动画从10秒改成15秒

This commit is contained in:
zlzw 2023-01-14 14:51:59 +08:00
parent 5d7cff6707
commit 543336af99
2 changed files with 3 additions and 1 deletions

View File

@ -365,10 +365,12 @@ public class LiveExoPlayerManager {
Log.i(TAG, "release: 释放播放器"); Log.i(TAG, "release: 释放播放器");
player1.release(); player1.release();
player2.release(); player2.release();
handler.removeCallbacks(buffRunnable);
} }
public void clearUrl() { public void clearUrl() {
url = ""; url = "";
handler.removeCallbacks(buffRunnable);
} }
public String getUrl() { public String getUrl() {

View File

@ -605,7 +605,7 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
mLiveRoomViewHolder.showPrizePoolLevel(String.valueOf(giftPrizePoolLevel)); mLiveRoomViewHolder.showPrizePoolLevel(String.valueOf(giftPrizePoolLevel));
} }
} }
liveHandler.postDelayed(loadRunnableGone, 10_000); liveHandler.postDelayed(loadRunnableGone, 15_000);
} }