I am using open-m3u8 for parsing HLS manifest and transforming it. I noticed that for Playlist Version 3 (#EXT-X-VERSION:3) , the HLS Specification says it allows for segment duration to be specified as floating point duration. However in the code I found out that floating point duration is allowed only for version 4 and above. This PullRequest is to fix this.
I am using open-m3u8 for parsing HLS manifest and transforming it. I noticed that for Playlist Version 3 (#EXT-X-VERSION:3) , the HLS Specification says it allows for segment duration to be specified as floating point duration. However in the code I found out that floating point duration is allowed only for version 4 and above. This PullRequest is to fix this.
Here is a reference to HLS Spec : https://developer.apple.com/library/content/qa/qa1752/_index.html