]> source.dussan.org Git - nextcloud-server.git/commit
Smooth time remaining, bitrate and stabilize user information
authorPhlogi <Phlogi@users.noreply.github.com>
Tue, 7 Dec 2021 21:05:13 +0000 (22:05 +0100)
committerFerdinand Thiessen <opensource@fthiessen.de>
Mon, 21 Aug 2023 21:18:45 +0000 (23:18 +0200)
commit0609aeeb0ac86ce428f717e991d4238166ebcac7
tree7c77eb3d8fa0c0aca8d0a65feacb02dddcdc7b15
parent1e6ed078e87ed7f56db8a8997967f32d16b9c836
Smooth time remaining, bitrate and stabilize user information

Besides the existing moving average, a smoothing factor is introduced for the time remaining display as well as the bitrate.
Furthermore, half of the buffer needs to be filled before the first prediction is displayed to the user. This reduces volatile and jumping durations towards the user and improves usability.

Signed-off-by: Cyrill H. <phlogi@posteo.de>
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
apps/files/js/file-upload.js