mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-04-22 00:34:43 +01:00
Solved buffering issue when paused and scrubbing
This commit is contained in:
@@ -449,7 +449,7 @@ extension VlcPlayerView: VLCMediaPlayerDelegate {
|
|||||||
stateInfo["state"] = "Paused"
|
stateInfo["state"] = "Paused"
|
||||||
}
|
}
|
||||||
|
|
||||||
if player.state == .buffering {
|
if player.state == .buffering && player.isPlaying {
|
||||||
stateInfo["isBuffering"] = true
|
stateInfo["isBuffering"] = true
|
||||||
stateInfo["state"] = "Buffering"
|
stateInfo["state"] = "Buffering"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user