mirror of
https://gitlab.futo.org/videostreaming/grayjay.git
synced 2025-04-20 03:24:50 +00:00
Changed reporting rates for sequential downloads.
This commit is contained in:
parent
220f50d3bb
commit
670a4c61ff
1 changed files with 2 additions and 2 deletions
|
@ -748,9 +748,9 @@ class VideoDownload {
|
|||
return sourceLength!!;
|
||||
}
|
||||
private fun downloadSource_Sequential(client: ManagedHttpClient, fileStream: FileOutputStream, url: String, onProgress: (Long, Long, Long) -> Unit): Long {
|
||||
val progressRate: Int = 4096 * 25;
|
||||
val progressRate: Int = 4096 * 5;
|
||||
var lastProgressCount: Int = 0;
|
||||
val speedRate: Int = 4096 * 25;
|
||||
val speedRate: Int = 4096 * 5;
|
||||
var readSinceLastSpeedTest: Long = 0;
|
||||
var timeSinceLastSpeedTest: Long = System.currentTimeMillis();
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue