From a25022264309e2eed1e439c9ee84114c363eaa4b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=B6rkem=20G=C3=BCcl=C3=BC?= Date: Mon, 16 Jan 2023 12:17:19 +0100 Subject: [PATCH] Removed thumbnails example streams from media.exolist.json --- demos/main/src/main/assets/media.exolist.json | 17 ----------------- .../android/exoplayer2/demo/PlayerActivity.java | 2 +- 2 files changed, 1 insertion(+), 18 deletions(-) diff --git a/demos/main/src/main/assets/media.exolist.json b/demos/main/src/main/assets/media.exolist.json index ce1528c19d..ac7b5ce749 100644 --- a/demos/main/src/main/assets/media.exolist.json +++ b/demos/main/src/main/assets/media.exolist.json @@ -631,23 +631,6 @@ } ] }, - { - "name": "Thumbnails", - "samples": [ - { - "name": "Single adaptation set, 7 tiles at 10x1, each thumb 320x180", - "uri": "https://dash.akamaized.net/akamai/bbb_30fps/bbb_with_tiled_thumbnails.mpd" - }, - { - "name": "Single adaptation set, SegmentTemplate with SegmentTimeline", - "uri": "https://demo.unified-streaming.com/k8s/features/stable/video/tears-of-steel/tears-of-steel-tiled-thumbnails-timeline.ism/.mpd" - }, - { - "name": "Single adaptation set, SegmentTemplate with SegmentNumber", - "uri": "https://demo.unified-streaming.com/k8s/features/stable/video/tears-of-steel/tears-of-steel-tiled-thumbnails-numbered.ism/.mpd" - } - ] - }, { "name": "Misc", "samples": [ diff --git a/demos/main/src/main/java/com/google/android/exoplayer2/demo/PlayerActivity.java b/demos/main/src/main/java/com/google/android/exoplayer2/demo/PlayerActivity.java index ae01315f12..8932b0780d 100644 --- a/demos/main/src/main/java/com/google/android/exoplayer2/demo/PlayerActivity.java +++ b/demos/main/src/main/java/com/google/android/exoplayer2/demo/PlayerActivity.java @@ -116,6 +116,7 @@ public class PlayerActivity extends AppCompatActivity playerView.setControllerVisibilityListener(this); playerView.setErrorMessageProvider(new PlayerErrorMessageProvider()); playerView.requestFocus(); + if (savedInstanceState != null) { trackSelectionParameters = TrackSelectionParameters.fromBundle( @@ -281,7 +282,6 @@ public class PlayerActivity extends AppCompatActivity player.setPlayWhenReady(startAutoPlay); playerView.setPlayer(player); configurePlayerWithServerSideAdsLoader(); - debugViewHelper = new DebugTextViewHelper(player, debugTextView); debugViewHelper.start(); }