From f79005ab0a8ba0a683d018b5469fe0c3aa76a969 Mon Sep 17 00:00:00 2001 From: tonihei Date: Tue, 11 Dec 2018 15:50:54 +0000 Subject: [PATCH] Fix manifest uri in SsDownloadHelper. This is the same as in SsMediaSource. PiperOrigin-RevId: 225001911 --- .../source/smoothstreaming/offline/SsDownloadHelper.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/offline/SsDownloadHelper.java b/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/offline/SsDownloadHelper.java index 5125beff1c..88830dde6a 100644 --- a/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/offline/SsDownloadHelper.java +++ b/library/smoothstreaming/src/main/java/com/google/android/exoplayer2/source/smoothstreaming/offline/SsDownloadHelper.java @@ -25,6 +25,7 @@ import com.google.android.exoplayer2.source.TrackGroup; import com.google.android.exoplayer2.source.TrackGroupArray; import com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifest; import com.google.android.exoplayer2.source.smoothstreaming.manifest.SsManifestParser; +import com.google.android.exoplayer2.source.smoothstreaming.manifest.SsUtil; import com.google.android.exoplayer2.upstream.DataSource; import com.google.android.exoplayer2.upstream.ParsingLoadable; import com.google.android.exoplayer2.util.Assertions; @@ -42,7 +43,7 @@ public final class SsDownloadHelper extends DownloadHelper { private @MonotonicNonNull SsManifest manifest; public SsDownloadHelper(Uri uri, DataSource.Factory manifestDataSourceFactory) { - this.uri = uri; + this.uri = SsUtil.fixManifestUri(uri);; this.manifestDataSourceFactory = manifestDataSourceFactory; }