mirror of
https://github.com/samsonjs/media.git
synced 2026-03-31 10:25:48 +00:00
DASHMediaSource: ensure MPD.Location is applied in also case of http redirect
This commit is contained in:
parent
087c6e0e05
commit
ca70b10c03
1 changed files with 1 additions and 1 deletions
|
|
@ -809,7 +809,7 @@ public final class DashMediaSource extends BaseMediaSource {
|
|||
// this load. If it was, we ignore the manifest location and prefer the manual replacement.
|
||||
@SuppressWarnings("ReferenceEquality")
|
||||
boolean isSameUriInstance = loadable.dataSpec.uri == manifestUri;
|
||||
if (isSameUriInstance) {
|
||||
if (isSameUriInstance || isRedirect) {
|
||||
manifestUri = manifest.location;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue