getQualityLabel_(track, tracks) {
    let text = Math.round(track.bandwidth / 1000) + ' kbits/s';
    if (this.controls.getConfig().showAudioCodec) {
      const getCodecName = (codecs) => {
        let name = '';
        if (codecs) {
          const codec = shaka.util.MimeUtils.getNormalizedCodec(codecs);
          name = codec.toUpperCase();
        }
        return name ? ' ' + name : name;
      };
      const hasDuplicateCodec = tracks.some((otherTrack) => {
        return getCodecName(otherTrack.codecs) != getCodecName(track.codecs);
      });
      if (hasDuplicateCodec) {
        text += getCodecName(track.codecs);
      }
    }
    return text;
  }
@param {!shaka.extern.Track} track
@param {!Array<!shaka.extern.Track>} tracks
@return {string}
@private