WaterMediaTeam / watermedia

Library and API for Multimedia, Powered by LibVLC. Working on pure JAVA and all Minecraft Modloaders
13 stars 10 forks source link

Rid off vlcj library and rely only on vlcj-natives library #51

Open SrRapero720 opened 7 months ago

SrRapero720 commented 7 months ago

some modders decides to be "outsmart" watermedia and uses native callbacks to handle events in native threads (which causes deadlocks and a lot of JVM complains)

this was something addressed by watermedia using the tick-based api and some helpers but nothing stops devs to still use vlcj callbacks

Objective

remove lib-vlcj and base the new new PlayerAPI on native methods (vlcj-natives) instead of the VLCJ

Expectations

v3 API was conceptualized to make possible have multiple impl of a player (including VLC) and let API decide witch player is way better for your PC (FFMPEG or VLCJ). Next implementations might be placed on https://github.com/WaterMediaTeam/watermedia-binaries