Closed SrRapero720 closed 1 year ago
Fixes #52 and #53
Yeah, it is tricky to make it work with streaming, because they work in weird ways. This line: https://github.com/CreativeMD/LittleFrames/blob/d4de643b6313effa0e919bc58fa25dd5f1875764/src/main/java/team/creative/littleframes/client/display/FrameVideoDisplay.java#L171 worked in the past. This should be no difference when using watermedia, right? I'm a bit confused about this part.
I Made few test but isn't working anymore. Is not caused by watermedia, probably Is how kick.com or twitch.com streams works
All streams plays with "lag" (got stunned trying to sync position) I add the comment in any case someone report that bug
I use VideoLANPlayer#isStream
to avoid that. but is a unsafe method (WMedia 1.3.3). because every m3u8 stream is detected as stream, but for example twitch VODs aren't streams and uses m3u8.
im gonna fix that watermedia method (in 1.3.6).
Hey, thanks a lot for all your work. I wanted to merge it on Monday, but I had other things to do. Same yesterday and today. I'm sorry but I need some time to do the transition properly. That's why I will merge this next week.
Ok, dont worry. I am doing some stuff un watermedia to enhance API and loading performance. So before end this week i'll make extra commits to use /support latest watermedia versión.
i just change watermedia version (gradle) and use a better way to identify if watermedia have binaries of current OS (in case watermedia have VLC binaries for macos or linux
Released it for 1.19.2, 1.19.4 and 1.20.
Changes
tick * 50
with WaterMediaAPI.gameTicksToMs()TextureCache.uploadFrame()
withWaterMediaAPI.preRender()
TextureCache
withLocalStorage
TextureSeeker
withPictureFetcher
(this allow to use all WATERMeDIA's URL patcher, so pictures from GoogleDrive, DropBox or OneDrive can be openned)Information
VideoDisplay doesn't works with streams, playback is stepped, thats because this code cant detect some .m3u8 streams... specially twitch or kick.com streams
this bug is present on old versions... (extracting stream links manually) https://github.com/CreativeMD/LittleFrames/blob/d4de643b6313effa0e919bc58fa25dd5f1875764/src/main/java/team/creative/littleframes/client/display/FrameVideoDisplay.java#L171