aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/assets/player/stats/stats-card.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/assets/player/stats/stats-card.ts')
-rw-r--r--client/src/assets/player/stats/stats-card.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/src/assets/player/stats/stats-card.ts b/client/src/assets/player/stats/stats-card.ts
index a32f6fb97..45fd30d55 100644
--- a/client/src/assets/player/stats/stats-card.ts
+++ b/client/src/assets/player/stats/stats-card.ts
@@ -86,7 +86,7 @@ class StatsCard extends Component {
86 this.updateInterval = setInterval(async () => { 86 this.updateInterval = setInterval(async () => {
87 try { 87 try {
88 const options = this.mode === 'p2p-media-loader' 88 const options = this.mode === 'p2p-media-loader'
89 ? await this.buildHLSOptions() 89 ? this.buildHLSOptions()
90 : await this.buildWebTorrentOptions() // Default 90 : await this.buildWebTorrentOptions() // Default
91 91
92 this.list.innerHTML = this.getListTemplate(options) 92 this.list.innerHTML = this.getListTemplate(options)
@@ -102,7 +102,7 @@ class StatsCard extends Component {
102 this.container.style.display = 'none' 102 this.container.style.display = 'none'
103 } 103 }
104 104
105 private async buildHLSOptions () { 105 private buildHLSOptions () {
106 const p2pMediaLoader = this.player_.p2pMediaLoader() 106 const p2pMediaLoader = this.player_.p2pMediaLoader()
107 const level = p2pMediaLoader.getCurrentLevel() 107 const level = p2pMediaLoader.getCurrentLevel()
108 108