diff --git a/lib/media/segment_index.js b/lib/media/segment_index.js index 597d696667..ec9298b350 100644 --- a/lib/media/segment_index.js +++ b/lib/media/segment_index.js @@ -694,6 +694,16 @@ shaka.media.MetaSegmentIndex = class extends shaka.media.SegmentIndex { this.indexes_ = []; } + /** + * @override + * @export + */ + forEachTopLevelReference(fn) { + for (const index of this.indexes_) { + index.forEachTopLevelReference(fn); + } + } + /** * @override * @export