static getFirstTagWithNameAsNumber(tags, name, defaultValue = 0) {
    const tag = shaka.hls.Utils.getFirstTagWithName(tags, name);
    const value = tag ? Number(tag.value) : defaultValue;
    return value;
  }
Get the numerical value of the first tag with given name if available.
Return the default value if the tag is not present.

@param {!Array<!shaka.hls.Tag>} tags
@param {string} name
@param {number=} defaultValue
@return {number}