addVideoAttributes_(stream, width, height, frameRate, videoRange,
      videoLayout, colorGamut) {
    if (stream) {
      stream.width = Number(width) || undefined;
      stream.height = Number(height) || undefined;
      stream.frameRate = Number(frameRate) || undefined;
      stream.hdr = videoRange || undefined;
      stream.videoLayout = videoLayout || undefined;
      stream.colorGamut = colorGamut || undefined;
    }
  }
@param {shaka.extern.Stream} stream
@param {?string} width
@param {?string} height
@param {?string} frameRate
@param {?string} videoRange
@param {?string} videoLayout
@param {?string} colorGamut
@private