The m3u8 file for live HDS stream is created when the HDS stream is published to the Origin Server (PUSH). The m3u8 is generated incrementally and also serialized on disk to ensure the consistent sequence numbering if Origin Server is restarted.
In this case, theDVR window of the generated live m3u8 = (DVR window of HDS/2) - Target Duration. The target duration of VOD m3u8 is set as the duration of the longest fragment.
The target duration of the live -m3u8 is determined as follows: