aboutsummaryrefslogtreecommitdiff
path: root/web/script/player/download.ts
diff options
context:
space:
mode:
Diffstat (limited to 'web/script/player/download.ts')
-rw-r--r--web/script/player/download.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/web/script/player/download.ts b/web/script/player/download.ts
index 63085b8..86a899f 100644
--- a/web/script/player/download.ts
+++ b/web/script/player/download.ts
@@ -22,7 +22,6 @@ export class SegmentDownloader {
duration: (dl_body - dl_header) / 1000,
size: buf.byteLength
}
- console.log(m);
this.measurements.push(m)
this.update_bandwidth()
}
@@ -35,8 +34,6 @@ export class SegmentDownloader {
const total_size = this.measurements.reduce((a, v) => v.size + a, 0)
const total_duration = this.measurements.reduce((a, v) => v.duration + a, 0)
const average = total_size / total_duration
- console.log(total_size, average, this.measurements);
-
this.bandwidth.value = average
}
}