static generateImageKey_(i) {
    return shaka.util.PeriodCombiner.generateKey_([
      i.width,
      i.codecs,
      i.mimeType,
    ]);
  }
@param {T} i
@return {string}
@template T
Accepts either a StreamDB or Stream type.
@private