Section 4.3.4.2 defines RESOLUTION attribute of EXT-X-STREAM-INF tag as decimal-resolution, that means it must not be parsed as integer.
For example for the next playlist
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-STREAM-INF:BANDWIDTH=140800,RESOLUTION=480x360,CODECS="avc1.64001e,mp4a.40.2"
stream_0.m3u8
current implementation gives
'{
"isExtendedM3U":true,
"segments":
[
{
"isMasterPlaylist":true,
"streamInf":{
"bandwidth":140800,
"resolution":480, // <- should be 480x360
"codecs":["avc1.64001e,mp4a.40.2"]
},
"url":"stream_0.m3u8"
},
],
"version":3
}'
Section 4.3.4.2 defines RESOLUTION attribute of EXT-X-STREAM-INF tag as decimal-resolution, that means it must not be parsed as integer.
For example for the next playlist
current implementation gives