This repository has been archived by the owner on Jan 12, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Guard against negative media index due to manifest vs actual timing d…
…ifferences (#794) * Guard against negative media index due to manifest vs actual timing differences One of the possible reasons for us getting a negative media index is that we've recorded actual segment timing information and it differs enough from the manifest's timing information that we can't properly place the first segment. In the event that we're at time 0 and the video isn't live, we can safely assume that we should get the first segment. * Change getMediaIndexForTime to return first segment when time and expired are 0
- Loading branch information