I got a small question about flvjs. How can I check if a flv file is avaiable using flv and how can I check if a flv stream ended? In total how can I listen to events (flv.js)? I didn't really understand it.
flvjs.on('ERROR', () => { console.log("Stream over") });