+2
-1
src/components/embeds/players/video-player.tsx
+2
-1
src/components/embeds/players/video-player.tsx
···
75
75
Hls.Events.FRAG_LOADED,
76
76
throttleTrailing(() => {
77
77
if (currentAccount && !Number.isNaN(hls.bandwidthEstimate)) {
78
-
currentAccount.preferences.ui.videoBwEstimate = Math.round(hls.bandwidthEstimate);
78
+
currentAccount.preferences.ui.videoBwEstimate =
79
+
Math.round(hls.bandwidthEstimate / 1_000_000) * 1_000_000;
79
80
}
80
81
}, 5_000),
81
82
);