HLS manifest problem

We packed hevc video with HLS.

when trying to play it using an ipad with ios version 12.1, the player doesn't request any segments, only the playlists are requested.

Can someone help up figure out what's the problem with those playlists ?


the main: main.m3u8

#EXTM3U

#EXT-X-VERSION:7

#EXT-X-INDEPENDENT-SEGMENTS

#EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=2898000,RESOLUTION=960x540,CODECS="hvc1.2.4.L123.B0,ec-3",FRAME-RATE=60.000,AVERAGE-BANDWIDTH=1996813

01.m3u8




01.m3u8:

#EXTM3U

#EXT-X-VERSION:7

#EXT-X-INDEPENDENT-SEGMENTS

#EXT-X-TARGETDURATION:8

#EXT-X-MEDIA-SEQUENCE:1

#EXT-X-PLAYLIST-TYPE:VOD

#EXT-X-MAP:URI="1_init.mp4"

#EXTINF:7.88333,1:PTS=127499

#EXT-X-MAP:URI="1_init.mp4"

20181217T135737-01-1vod.mp4

#EXTINF:7.88333,2:PTS=837000

#EXT-X-MAP:URI="1_init.mp4"

20181217T135737-01-2vod.mp4

#EXTINF:7.88333,3:PTS=1546499

#EXT-X-MAP:URI="1_init.mp4"

20181217T135737-01-3vod.mp4

#EXTINF:7.88333,4:PTS=2255999

.

.

.

20181217T135737-01-74vod.mp4

#EXTINF:7.88333,75:PTS=52616999

#EXT-X-MAP:URI="1_init.mp4"

20181217T135737-01-75vod.mp4

#EXTINF:6.9,76:PTS=53326499

#EXT-X-MAP:URI="1_init.mp4"

20181217T135737-01-76vod.mp4

#EXT-X-ENDLIST

Replies

First of all, don't repeat the EXT-X-MAP tag.

(The HLS spec, section 4.4.2.5 says "applies to every Media Segment that appears after it in the Playlist until the next EXT-X-MAP tag or until the end of the Playlist.)


Also, I'm not sure what is the effect of putting the EXT-X-MAP between the EXTINF and the URL. It look weird to me, but may work.


It may be that it has a problem with the ec-3 and decides the stream is not playable. Try a version of the master playlist with only the hevc declared in the CODECS attribute. Or try just playing the media playlist directly.


Stop using the PROGRAM-ID attribute. It does nothing and was removed from the spec.


Other than taht, nothing immediatley obvious to me.