Solved buffering issue when paused and scrubbing

This commit is contained in:
Alex Kim
2024-10-13 01:54:41 +11:00
parent f7401bd60c
commit 43d64bc3d0

View File

@@ -449,7 +449,7 @@ extension VlcPlayerView: VLCMediaPlayerDelegate {
stateInfo["state"] = "Paused"
}
if player.state == .buffering {
if player.state == .buffering && player.isPlaying {
stateInfo["isBuffering"] = true
stateInfo["state"] = "Buffering"
}