static generateVideoKey_(v) {
    return shaka.util.PeriodCombiner.generateKey_([
      v.fastSwitching,
      v.width,
      v.frameRate,
      shaka.util.PeriodCombiner.getCodec_(v.codecs),
      v.mimeType,
      v.label,
      v.roles,
      v.closedCaptions ? Array.from(v.closedCaptions.entries()) : null,
      v.bandwidth,
      v.dependencyStream ? v.dependencyStream.baseOriginalId : null,
      Array.from(v.keyIds),
    ]);
  }
@param {T} v
@return {string}
@template T
Accepts either a StreamDB or Stream type.
@private