Commit 3a52b30
authored
Cue interval tree (Dash-Industry-Forum#4812)
* feat: create IntervalTree for O(log n) lookup of cues within an interval
* feat: keep all cues in an IntervalTree and only a small range in the native TextTrack
* refactor: rename IntervalTree to CueIntervalTree
* refactor: make _onPlaybackSeeked more consistent with _onPlaybackTimeUpdated
* refactor: avoid checking same condition multiple times
* fix: hopefully fix the TypeError on functional test for forced subtitles on MacOSX Firefox 142
* refactor: delete workaround for a bug from pre-Chromium MS Edge
* fix: restore cue extension logic1 parent 1fc9e5e commit 3a52b30
File tree
7 files changed
+1329
-272
lines changed- src/streaming
- controllers
- text
- test/unit/test/streaming
7 files changed
+1329
-272
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
689 | 689 | | |
690 | 690 | | |
691 | 691 | | |
692 | | - | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
693 | 695 | | |
694 | 696 | | |
695 | 697 | | |
| |||
0 commit comments