aboutsummaryrefslogtreecommitdiff
path: root/web/script/player/mod.ts
diff options
context:
space:
mode:
Diffstat (limited to 'web/script/player/mod.ts')
-rw-r--r--web/script/player/mod.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/script/player/mod.ts b/web/script/player/mod.ts
index 1c4b87c..671631a 100644
--- a/web/script/player/mod.ts
+++ b/web/script/player/mod.ts
@@ -220,6 +220,7 @@ function initialize_player(el: HTMLElement, node_id: string) {
player.downloader.bandwidth_avail.map(b => e("pre", `estimated available bandwidth: ${show.metric(b, "B/s")} | ${show.metric(b * 8, "b/s")}`)),
player.downloader.bandwidth_used.map(b => e("pre", `estimated used bandwidth: ${show.metric(b, "B/s")} | ${show.metric(b * 8, "b/s")}`)),
player.downloader.total_downloaded.map(b => e("pre", `downloaded bytes total: ${show.metric(b, "B")}`)),
+ player.position.map(_ => e("pre", `frames dropped: ${player.video.getVideoPlaybackQuality().droppedVideoFrames}`)),
...tracks.map(t => t.debug())
)
))),