Software : : Wayfarer 3.7 with media playback improvements
Posted By: jacadcaps. on 2022/6/1 12:58:39
Wayfarer 3.7 is now available from wayfarer.icu

The new build significantly improves media playback. Several memory management problems have been fixed that ended up causing out-of-memory situations when playing longer media streams. Seeking for MediaSource media has been completely rewritten to be a lot more reliable.

Full changelog:

- Rewritten MediaSource player state machines to improve seeking, end-of-stream handling
- Fixed a bug that caused a/v decoders to keep increasing the read-ahead decoded frame buffers infinitely (causing out-of-memory sooner or later during playback)
- Fixed a memory leak in a/v de-multiplexer
- Refactored the HLS player to enable seeking in terminated playlists
- Reduced the memory footprint of MediaSource playback
- Fixed video position reporting for MediaStreams w/o an audio track
- Rewritten the right mouse button handling
- Improved the media popup, added stream information
- Fixed input handling in fullscreen mode
- Updated OpenJPEG
 
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    tolkien
    Joined: 2013/5/29
    Posts: 523
    From:
    Each release is even better and faster...cant imagine this beast with a js jit!

    Thanks so much Jaca!
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »2022/6/1 15:08
    Profile
  • MorphOS Developer
    jacadcaps
    Joined: 2003/3/5
    Posts: 3108
    From: Canada
    I'm sorry to say that adding JIT would have minimal impact. I've ran quite a bit of profiling runs on some heavy websites, which is where you would want that extra speed. The result: on many of them the single biggest cost was running garbage collection of JavaScript, not JavaScript execution itself. What it means is that websites keep a lot of ***, I mean allocations, and they all need to be periodically "visited" by the Garbage Collector so that it knows what to free. On sites like advanced text editors this was the single biggest cost and adding JIT would simply not improve things at all there. GC is native C++ code anyway.
  • »2022/6/1 17:22
    Profile Visit Website
  • Priest of the Order of the Butterfly
    Priest of the Order of the Butterfly
    tolkien
    Joined: 2013/5/29
    Posts: 523
    From:
    So what we need is a world with less crap js ;)

    Im really happy as wayfarer is so no a terrible new.
    MorphOS: PowerMac G5 - PowerBook G4 - MacMini.
    Classic: Amiga 1200/060 - A500 PiStorm
  • »2022/6/1 17:59
    Profile