WATERMeDIA: Multimedia API

WATERMeDIA: Multimedia API

551k Downloads

[CacheAPI] Overhaul CacheCore and build it in a API

SrRapero720 opened this issue ยท 4 comments

commented

Rework of the internal CacheCore and make it accessible in a API
Should works hand-to-hand with the ImageAPI and PlayerAPI for local catching multimedia (like videos)

Speeding media loading times and reduce bandwidth usage.

commented

is a "just in case" fallback. modding is super weird. native threads have problems with forge's event bus... making context classloader always null (instead of fallback on system classloader) so i expect everything at this point

commented

TODO related to #61
We should also modify fallback code to ensure (even if digest fails) not have long filenames or duplicated filenames (which occurred sometimes using Base64

commented

As far as I know, the fallback is actually never used since the digest can only fail if the SHA-256 is actually removed from the Java's MessageDigest.
I left it to have a return outside of the try, but I don't know if it's the best way to do.

commented

this needs more observation. Is planned merge it on MRL class