Closed Orange-Murker closed 9 months ago
#EXT-X-TARGETDURATION:<s>
where s is a decimal-integer indicating the Target Duration in
seconds.
Makes sense to me
It's currently defined as f32
There are probably users who ingest floaty TARGETDURATIONs that will now fail to parse, but we'll see.
Unlike the segment duration in EXTINF, EXT-X-TARGETDURATION can only be a decimal-integer according to the RFC. The motivation behind this issue is that players can refuse playback if the user of the library sets this to a non-integer value and it is better to eliminate the possibility of this happening.