From 2ab1c75ca7ada53129777d72fc5dff71077ba402 Mon Sep 17 00:00:00 2001 From: ibaker Date: Fri, 24 May 2024 07:08:49 -0700 Subject: [PATCH] Remove deprecated `DashMediaSource.DEFAULT_LIVE_PRESENTATION_DELAY_MS` Use `DashMediaSource.DEFAULT_FALLBACK_TARGET_LIVE_OFFSET_MS` instead. PiperOrigin-RevId: 636906922 --- RELEASENOTES.md | 2 ++ .../java/androidx/media3/exoplayer/dash/DashMediaSource.java | 5 ----- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 7e3db3662c..75a2f8aae4 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -209,6 +209,8 @@ instead. * Remove `DefaultHttpDataSource` constructors. Use `DefaultHttpDataSource.Factory` instead. + * Remove `DashMediaSource.DEFAULT_LIVE_PRESENTATION_DELAY_MS`. Use + `DashMediaSource.DEFAULT_FALLBACK_TARGET_LIVE_OFFSET_MS` instead. ## 1.4 diff --git a/libraries/exoplayer_dash/src/main/java/androidx/media3/exoplayer/dash/DashMediaSource.java b/libraries/exoplayer_dash/src/main/java/androidx/media3/exoplayer/dash/DashMediaSource.java index 5e9a2087c7..1c4ca9d144 100644 --- a/libraries/exoplayer_dash/src/main/java/androidx/media3/exoplayer/dash/DashMediaSource.java +++ b/libraries/exoplayer_dash/src/main/java/androidx/media3/exoplayer/dash/DashMediaSource.java @@ -387,11 +387,6 @@ public final class DashMediaSource extends BaseMediaSource { */ public static final long DEFAULT_FALLBACK_TARGET_LIVE_OFFSET_MS = 30_000; - /** - * @deprecated Use {@link #DEFAULT_FALLBACK_TARGET_LIVE_OFFSET_MS} instead. - */ - @Deprecated public static final long DEFAULT_LIVE_PRESENTATION_DELAY_MS = 30_000; - /** The media id used by media items of dash media sources without a manifest URI. */ public static final String DEFAULT_MEDIA_ID = "DashMediaSource";