mirror of
https://github.com/androidx/media.git
synced 2025-05-04 22:20:47 +08:00
Don't append base uri if chunkUrl is absolute.
This commit is contained in:
parent
c8e5988e6d
commit
01151c9c65
@ -274,7 +274,7 @@ public class SmoothStreamingManifest {
|
||||
String chunkUrl = chunkTemplate
|
||||
.replace(URL_PLACEHOLDER_BITRATE, Integer.toString(tracks[track].bitrate))
|
||||
.replace(URL_PLACEHOLDER_START_TIME, Long.toString(chunkStartTimes.get(chunkIndex)));
|
||||
return baseUri.buildUpon().appendEncodedPath(chunkUrl).build();
|
||||
return Util.getMergedUri(baseUri, chunkUrl);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user