function createTextStreamDB(id) {
    const ContentType = shaka.util.ManifestParserUtils.ContentType;
    const mimeType = 'text/vtt';
    const codecs = '';
    return {
      id,
      originalId: id.toString(),
      groupId: null,
      primary: false,
      type: ContentType.TEXT,
      mimeType,
      codecs,
      frameRate: undefined,
      pixelAspectRatio: undefined,
      hdr: undefined,
      colorGamut: undefined,
      videoLayout: undefined,
      kind: undefined,
      language: 'en',
      originalLanguage: 'en',
      label: null,
      width: null,
      height: null,
      encrypted: false,
      keyIds: new Set(),
      segments: [
        createSegmentDB(
            /* startTime= */ 0,
            /* endTime= */ 10,
            /* dataKey= */ 1,
            mimeType, codecs),
        createSegmentDB(
            /* startTime= */ 10,
            /* endTime= */ 20,
            /* dataKey= */ 2,
            mimeType, codecs),
        createSegmentDB(
            /* startTime= */ 20,
            /* endTime= */ 25,
            /* dataKey= */ 3,
            mimeType, codecs),
      ],
      variantIds: [],
      roles: [],
      forced: false,
      channelsCount: null,
      audioSamplingRate: null,
      spatialAudio: false,
      closedCaptions: null,
      tilesLayout: undefined,
      mssPrivateData: undefined,
      accessibilityPurpose: null,
      external: false,
      fastSwitching: false,
      isAudioMuxedInVideo: false,
    };
  }
@param {number} id
@return {shaka.extern.StreamDB}