getBlob() {
    return {
      width: this.width_,
      height: this.height_,
      currentCodecs: this.currentCodecs_,
      streamBandwidth: this.currentStreamBandwidth_,
      decodedFrames: this.totalDecodedFrames_,
      droppedFrames: this.totalDroppedFrames_,
      corruptedFrames: this.totalCorruptedFrames_,
      stallsDetected: this.totalStallsDetected_,
      gapsJumped: this.totalGapsJumped_,
      estimatedBandwidth: this.bandwidthEstimate_,
      completionPercent: this.completionPercent_,
      loadLatency: this.loadLatencySeconds_,
      manifestTimeSeconds: this.manifestTimeSeconds_,
      drmTimeSeconds: this.drmTimeSeconds_,
      playTime: this.stateHistory_.getTimeSpentIn('playing'),
      pauseTime: this.stateHistory_.getTimeSpentIn('paused'),
      bufferingTime: this.stateHistory_.getTimeSpentIn('buffering'),
      licenseTime: this.licenseTimeSeconds_,
      liveLatency: this.liveLatencySeconds_,
      maxSegmentDuration: this.maxSegmentDurationSeconds_,
      manifestSizeBytes: this.manifestSizeBytes_,
      bytesDownloaded: this.bytesDownloaded_,
      nonFatalErrorCount: this.nonFatalErrorCount_,
      manifestPeriodCount: this.manifestPeriodCount_,
      manifestGapCount: this.manifestGapCount_,
      stateHistory: this.stateHistory_.getCopy(),
      switchHistory: this.switchHistory_.getCopy(),
    };
  }
Create a stats blob that we can pass up to the app. This blob will not
reference any internal data.

@return {shaka.extern.Stats}