diff --git a/lib/media/segment_index.js b/lib/media/segment_index.js index 544d9bd7b9..19aa4f59b2 100644 --- a/lib/media/segment_index.js +++ b/lib/media/segment_index.js @@ -659,6 +659,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