()
| 593 | } |
| 594 | |
| 595 | _fillLevels() { |
| 596 | this._levels = this._hls.levels.map((level, index) => { |
| 597 | return { id: index, level: level, label: `${level.bitrate / 1000}Kbps` } |
| 598 | }) |
| 599 | this.trigger(Events.PLAYBACK_LEVELS_AVAILABLE, this._levels) |
| 600 | } |
| 601 | |
| 602 | _onLevelUpdated(evt, data) { |
| 603 | this._segmentTargetDuration = data.details.targetduration |
no test coverage detected