static checkSegmentIndexRangeSupport_(context, initSegmentReference) {
    const SegmentBase = shaka.dash.SegmentBase;

    SegmentBase.checkSegmentIndexSupport(context, initSegmentReference);

    const indexRange = SegmentBase.computeIndexRange_(context);
    if (!indexRange) {
      shaka.log.error(
          'SegmentBase does not contain sufficient segment information:',
          'the SegmentBase does not contain @indexRange',
          'or a RepresentationIndex element.',
          context.representation);
      throw new shaka.util.Error(
          shaka.util.Error.Severity.CRITICAL,
          shaka.util.Error.Category.MANIFEST,
          shaka.util.Error.Code.DASH_NO_SEGMENT_INFO);
    }
  }
Check if this type of segment index is supported.  This allows for
immediate errors during parsing, as opposed to an async error from
createSegmentIndex().

Also checks for a valid byte range, which is not required for callers from
SegmentTemplate.

@param {shaka.dash.DashParser.Context} context
@param {shaka.media.InitSegmentReference} initSegmentReference
@private