Using the Wowza Streaming Engine to ingest HLS (following instructions of https://www.wowza.com/docs/how-to-publish-and-play-a-live-stream-apple-hls), I noticed that the ingest is not working correctly when the chunks are relative.
In practice, in a playlist located at http://domain.com/a_path/playlist.m3u8 which contains the following lines:
... #EXTINF:4.00, /another_path/chunk1.ts ...
… the chunk is supposed to be located at http://domain.com/another_path/chunk1.ts. It is how it is interpreted in all players that I know.
Wowza does looks for this file at http://domain.com/a_path/another_path/chunk1.ts, which would correspond to the following content:
This problem makes the HLS ingestion fail when the chunk paths are relative and the playlist is not at the root of the domain.