constructor(segmentUri, segmentDuration) {
    /** @private {string} */
    this.segmentUri_ = segmentUri;

    /**
     * Internally, everything is in timescale units.
     * @private {number}
     */
    this.segmentDuration_ = segmentDuration * 90000;

    /** @private {!Array<{offset: number, dts: ?number, pts: ?number}>} */
    this.timestamps_ = [];

    /** @private {number} */
    this.timestampOffset_ = Infinity;

    /** @private {ArrayBuffer} */
    this.segmentTemplate_ = null;
  }
@param {string} segmentUri The URI of the segment.
@param {number} segmentDuration The duration of a single segment, in
  seconds.