I am using video.js library to stream live video and it is working as expected
but after some time url throws a 404 error while streaming and the whole player will stuck on loading, now i want to catch that 404 error in any event and handle that
i also tried with player.on("error")
but it is not firing when chunk is throwing 404
I installed new library videojs-errors
import videojs from 'video.js';
import 'videojs-errors';
which solved my problem with reach message options and customization