aboutsummaryrefslogtreecommitdiff
path: root/web/script/player/download.ts
diff options
context:
space:
mode:
authormetamuffin <metamuffin@disroot.org>2023-10-02 22:58:44 +0200
committermetamuffin <metamuffin@disroot.org>2023-10-02 22:58:44 +0200
commit1f11c16aefe71d68605d2cd0ad5da9c016aa3570 (patch)
tree39a5cdc211c6f5da660acb4a8da36e88f88863c7 /web/script/player/download.ts
parente52890060edb988cf16f184d5711e539b1c1dd01 (diff)
downloadjellything-1f11c16aefe71d68605d2cd0ad5da9c016aa3570.tar
jellything-1f11c16aefe71d68605d2cd0ad5da9c016aa3570.tar.bz2
jellything-1f11c16aefe71d68605d2cd0ad5da9c016aa3570.tar.zst
testing profile autoselect
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
}
}