This was added in Engine version 4.6.0 and is enabled by adding “cupertino.addEndListOnDisconnect”:“true” to the map file entry (default is false).
Currently when a live source stream is unpublished, the HLS packetizer will just timeout after a set period. From a player POV, it is not aware that the source stream has ended and it keeps requesting the chunklist until it receives a 404 response. There are some cases where even after receiving the 404 response, the player still doesn’t stop requesting the chunklist for some time.
By having an option to add the EXT-X-ENDLIST tag when the source stream is unpublished, this will allow the players to react correctly and stop requesting the chunklist.