replace flv.js (and probably the flv module) and use hls.js for the frontend