mirror of
https://github.com/samsonjs/media.git
synced 2026-06-23 04:54:46 +00:00
If a timeline update removed periods at the end of the timeline which had been buffered, handleSourceInfoRefreshed would call getNextPeriodIndex and get back -1 for the last period holder in the new timeline. Then isLastPeriod(-1) could throw. Fix this behavior so that the remainder of the timeline is discarded. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=156061016 |
||
|---|---|---|
| .. | ||
| all | ||
| core | ||
| dash | ||
| hls | ||
| smoothstreaming | ||
| ui | ||