Improve buffering

This commit is contained in:
Ali
2020-07-17 23:27:20 +04:00
parent ca2664d6b1
commit 7ba7f9d2cb
2 changed files with 7 additions and 3 deletions

View File

@@ -816,7 +816,7 @@ private final class MediaPlayerContext {
rate = 0.0
print("bufferingProgress = \(progress)")
let tickTimer = SwiftSignalKit.Timer(timeout: 0.1, repeat: false, completion: { [weak self] in
let tickTimer = SwiftSignalKit.Timer(timeout: 0.3, repeat: false, completion: { [weak self] in
self?.tick()
}, queue: self.queue)
self.tickTimer = tickTimer