mirror of
https://github.com/samsonjs/media.git
synced 2026-03-30 10:15:48 +00:00
Don't append base uri if chunkUrl is absolute.
This commit is contained in:
parent
c8e5988e6d
commit
01151c9c65
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue