We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 791f9b1 commit 4d5e9baCopy full SHA for 4d5e9ba
lib/dash/segment_template.js
@@ -1116,6 +1116,19 @@ shaka.dash.TimelineSegmentIndex = class extends shaka.media.SegmentIndex {
1116
return ref;
1117
}
1118
1119
+ /**
1120
+ * @override
1121
+ */
1122
+ forEachTopLevelReference(fn) {
1123
+ this.fitTimeline();
1124
+ for (let i = 0; i < this.getNumReferences(); i++) {
1125
+ const reference = this.get(i + this.numEvicted_);
1126
+ if (reference) {
1127
+ fn(reference);
1128
+ }
1129
1130
1131
+
1132
/**
1133
* Fill in a specific template with values to get the segment uris
1134
*
0 commit comments