Merge branch 'feature/vlc-support' of https://github.com/Alexk2309/streamyfin into pr/178

This commit is contained in:
Fredrik Burmester
2024-10-13 20:18:38 +02:00
2 changed files with 3 additions and 1 deletions

View File

@@ -155,6 +155,8 @@ export default function page() {
const { currentTime, duration, isBuffering, isPlaying } =
data.nativeEvent;
setIsBuffering(isBuffering);
// console.log("onProgress ~", {
// currentTime,
// duration,

View File

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