Does anyone know if I can change a m3u8 file dynamically during runtime of the app?
The scenario is as follows:
lets say i have multiple .ts files ready to play in a sequence, for example 1.ts , 2.ts , 3.ts etc…
Now during run time, i want to change the order to 1.ts , 3.ts and only then 2.ts.
Is this possible?
Thanks,
The answer is in the HLS standard (August 2017):
Note the standard draft (circa 2012) from the original answer was slightly different:
All in all, what you aim at is not supported by the protocol.
Anyway it’s rather pointless as segments may correlate between themselves in order (has common key-frames).