I have a problem how to find when the live stream ends.
According to the HLS specification the client would stop requesting more index files when the #EXT-X-ENDLIST occurs in chunklist_xxxxxxx.m3u8.
But when I stop streaming to Wowza the #EXT-X-ENDLIST tag doesn’t appear. The client still make requests for index files and the server return the same index file.
I cannot find any useful information how can I add this tag.
Is there any way to added it with java api?
Maybe to intercept requests to chunklist_xxxxxxx.m3u8 file and to add the tag if there is no stream with this name?
Thanks in advance