I am attempting to playback live streams with video.js 7 and the built-in VHS plugin. All works fine, but when the stream ends, the “ended” player event doesn’t fire. Eventually, 404 errors start to show on the console because the manifest is deleted, but nothing propagates to the player and the “error” event.
Is there some way to get greater granularity of what is happening in the hls engine? The “hls.js” client, for example, returns significant events like “buffer stalled” and “level load” errors. These message help assess the health of the live stream and can also be used to determine if the stream has ended. It would be great if there was a way to get this level of detail from VHS.
I know I can use video.js 7 with another plugin that loads the hls.js client. But the one that also exposes hls.js events – https://github.com/Peer5/videojs-contrib-hls.js – uses a very old version of hls.js and appears to be currently unmonitored.