LL-HLS magical number of 1002 for --part-target-duration-ms in --iso-fragmented

Hi Guys,

I'm working on adding LL-HLS support to the Ant Media Server. I'm following up the documentation in hlstools for streaming and testing mediastreamsegmenter and tsrecompressor. What I wonder is that the sample uses 1002 ms for --part-target-duration-ms (-w in short form) as below

 mediastreamsegmenter -w 1002 -t 4 224.0.0.50:9123 -s 16 -D -T -f /Library/WebServer/Documents/2M/`

It works in this way.

 mediastreamsegmenter -w 1000 -t 4 224.0.0.50:9123 -s 16 -D -T -f /Library/WebServer/Documents/2M/`

It works in this way

 mediastreamsegmenter -w 1000 -t 4 224.0.0.50:9123 -s 16 -D -T --iso-fragmented -f /Library/WebServer/Documents/2M/`

It crashes in this way when I add --iso-fragmented and mediastreamsegmenter gives the following error

encountered failure write segment failed (-17543) - exiting

It works if I use 1001 or 1003.

I wondering if there is a reason for that or is it a bug?

LL-HLS magical number of 1002 for --part-target-duration-ms in --iso-fragmented
 
 
Q