getTimeline() {
    if (!this.templateInfo_) {
      return [];
    }
    const timeline = this.templateInfo_.timeline;
    goog.asserts.assert(timeline, 'Timeline should be non-null!');
    return timeline;
  }
Get the current timeline
@return {!Array<shaka.media.PresentationTimeline.TimeRange>}