JavaScript updates (2026-11-23)
The current patches are patches/libmedia-patches.mjs with its two sibling modules.
They include the earlier codec fixes, large-attachment skip, track-correct cues,
GPU HDR tone mapping and sequential-cache Matroska seeking (private IO flag 16).
To reproduce the distributed core, install @libmedia/avplayer@1.3.1, import
patchMatroskaBundle and patchPlayerBundle from patches/libmedia-patches.mjs,
then write patchMatroskaBundle(await readFile("node_modules/@libmedia/avplayer/dist/umd/573.avplayer.js","utf8"))
and patchPlayerBundle(await readFile("node_modules/@libmedia/avplayer/dist/umd/avplayer.js","utf8"))
to the corresponding avplayer files. The functions verify the original bundle hashes.
All decoder WASM files and their sources/builds are unchanged from the main README.
A user may replace these bundles/decoders in vendor/libmedia/1.3.1-lgpl-20261123-sequential-seek/.
