Skip to content
This repository has been archived by the owner on Jan 12, 2019. It is now read-only.

do not timeout segment requests for non-master playlist source #1032

Merged
merged 2 commits into from
Feb 28, 2017

Conversation

mjneil
Copy link
Contributor

@mjneil mjneil commented Feb 24, 2017

Description

If the source loaded into the player is just a media playlist and not a master playlist, segments will still timeout after 1.5 * targetDuration even though it is playing the lowest enabled rendition (seeing how its the only rendition)

Addresses #1022

Requirements Checklist

  • Feature implemented / Bug fixed
  • Unit Tests updated or fixed
  • Reviewed by Two Core Contributors

return false;
}

if (!media.attributes) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think a better way would be to just always return true if there is only a single variant.

@imbcmdth imbcmdth merged commit a24d468 into videojs:master Feb 28, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants