Live HLS end of stream detection with supported servers. Ant Media Server supports HLS ENDLIST end of stream detection when an encoder physically stops.
<div class="flex w-full">
<div id="endofstream" class=""></div>
</div>
<script type="text/javascript">
var player = flowplayer("#endofstream", {
"clip": {
"live": true,
"sources": [
{
"src": "https://videos.electroteque.org/hls/bigbuckbunny/playlist.m3u8",
"type": "application/x-mpegurl"
}
]
},
"offline": {
"autoreconnect": true,
"offline": "Offline",
"reconnect": "Reconnecting In ",
"reconnectTime": 30
},
"share": false
});
</script>