update 清晰度切换

This commit is contained in:
2022-12-29 13:13:05 +08:00
parent 00c3e0cb77
commit 5db84c1e61
7 changed files with 96 additions and 7 deletions

View File

@@ -134,6 +134,7 @@ public class LiveExoPlayerManager {
}
public void switchUrl(String url) {
Log.i(TAG, "switchUrl: "+url);
isSwitchUrl = true;
getNextPlayer().setMediaItem(createMediaItem(url));
getNextPlayer().prepare();