mirror of
https://github.com/samsonjs/media.git
synced 2026-03-29 10:05:48 +00:00
Correctly handle redirection when requesting manifests.
This commit is contained in:
parent
8c980c8892
commit
69c7cb09c8
1 changed files with 1 additions and 1 deletions
|
|
@ -293,7 +293,7 @@ public class ManifestFetcher<T> implements Loader.Callback {
|
|||
inputStream = connection.getInputStream();
|
||||
inputEncoding = connection.getContentEncoding();
|
||||
result = parser.parse(inputStream, inputEncoding, contentId,
|
||||
Util.parseBaseUri(manifestUrl));
|
||||
Util.parseBaseUri(connection.getURL().toString()));
|
||||
} finally {
|
||||
if (inputStream != null) {
|
||||
inputStream.close();
|
||||
|
|
|
|||
Loading…
Reference in a new issue