mirror of
https://github.com/YuzuZensai/play-dl-test.git
synced 2026-01-31 14:58:05 +00:00
Revert change of Stream class
This commit is contained in:
@@ -170,7 +170,6 @@ export class Stream {
|
|||||||
this.bytes_count += chunk.length
|
this.bytes_count += chunk.length
|
||||||
if(absolute_bytes > (this.per_sec_bytes * 300) && this.per_sec_bytes !== 0){
|
if(absolute_bytes > (this.per_sec_bytes * 300) && this.per_sec_bytes !== 0){
|
||||||
stream.destroy()
|
stream.destroy()
|
||||||
stream.unpipe(this.stream)
|
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user