You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can see that the duration of the last segment is expressed in scientific notation, which will cause play problems. If I play this m3u8 file in the default HLS player of iOS, the media will be treated as a live stream instead of a ended playList.
So I wonder if formatting can be used to output the media segment's duration? like String.fromat("%.6f", duration)
The text was updated successfully, but these errors were encountered:
I found a input M3u8 playlist like this:
Notice the last media segment, it's duration is very small(0.000011), if I use this lib to parse and output this file, the output will be:
The parse code is very simple:
You can see that the duration of the last segment is expressed in scientific notation, which will cause play problems. If I play this m3u8 file in the default HLS player of iOS, the media will be treated as a live stream instead of a ended playList.
So I wonder if formatting can be used to output the media segment's duration? like
String.fromat("%.6f", duration)
The text was updated successfully, but these errors were encountered: