constructor (core, timescale = 1000) {
    this._core = core
    this._timescale = timescale
    this._stats = new Stats(timescale)
    this._bindEvents()
  }
@typedef {Object} StatsInfo
@property {number} downloadSpeed
@property {number} avgSpeed
@property {number} currentTime
@property {number} bufferEnd
@property {number} decodeFps
@property {string} encodeType
@property {string} audioCodec
@property {string} videoCodec
@property {string} domain
@property {number} fps
@property {number} bitrate
@property {number} width
@property {number} height
@property {number} samplerate
@property {number} channelCount
@property {number} gop