Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: MPD not refreshed if minimumUpdatePeriod is 0 (#954)
This fixes a bug caused by an oversight in #942. If the MPD@minimumUpdatePeriod is 0 in the first dynamic MPD we load, we should use the media's target duration as the MPD refresh interval, however we need to wait until a playlist has been selected before we can know DashPlaylistLoader.media().targetDuration, otherwise we get a TypeError.
- Loading branch information