[vlc-devel] [PATCH] Naming patterns for HLS segments

Rémi Denis-Courmont remi at remlab.net
Fri Apr 13 20:00:43 CEST 2012

Le jeudi 12 avril 2012 21:39:06 Łukasz Korbel, vous avez écrit :
> I have added naming pattern for segments in HLS broadcast.
> Beside standard "index" pattern i've added "timestamp" which set
> segment name to number of seconds since Epoch.

It will not work if the clock wraps back. Notably some embedded devices loose 
time when they reboot. I guess we don't care and the problem already existed 
without the patch.

Still, do you really need a linear counter? I would expect you only need a 
monotonic counter. Then I would much prefer YYYYMMDDhhmmss over Epoch.

Rémi Denis-Courmont

More information about the vlc-devel mailing list