flvjs - Check if flv is avaiable / Check if flv stream ended

467 Views Asked by At

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") });

0

There are 0 best solutions below