function createVideoStreamDB(id, variantIds) {
    const ContentType = shaka.util.ManifestParserUtils.ContentType;
    const mimeType = 'video/mp4';
    const codecs = 'avc1.42c01e';
    return {
      id,
      originalId: id.toString(),
      groupId: null,
      primary: false,
      type: ContentType.VIDEO,
      mimeType,
      codecs,
      frameRate: 22,
      pixelAspectRatio: '59:54',
      hdr: undefined,
      colorGamut: undefined,
      videoLayout: undefined,
      kind: undefined,
      language: '',
      originalLanguage: null,
      label: null,
      width: 250,
      height: 100,
      encrypted: true,
      keyIds: new Set(['key1']),
      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,
      accessibilityPurpose: null,
      external: false,
      fastSwitching: false,
      isAudioMuxedInVideo: false,
    };
  }
@param {number} id
@param {!Array<number>} variantIds
@return {shaka.extern.StreamDB}