With the new feather of hls, MPEG-4 Fragment Support. We first test video and audio stream of fmp4 type in IOS10, it is work!
And then, we add a subtitle stream of webvtt ,it doesn't work.
From WireShark we found that IOS10 get index.m3u8, rate.m3u8, moov file ordinal, and then it dosen't get subtitle fragment but get index.m3u8 once again.
zhe index.m3u8 like this:
#EXTM3U
#EXT-X-VERSION:7
#EXT-X-MEDIA:TYPE=SUBTITLES, GROUP-ID="subs",LANGUAGE="eng", DEFAULT="YES", AUTOSELECT="YES",FORCED="YES", NAME="English(Forced)", URI="full_Dan_nor_teletext-output_ateme_260_nor.m3u8?fmt=dash2hls&servicetype=1&hw_dash=1"
#EXT-X-STREAM-INF:BANDWIDTH=1500000, AUDIO="aac", CODECS="avc1.42e01e"
full_Dan_nor_teletext-output_ateme_1500000.m3u8?fmt=dash2hls&servicetype=1&hw_dash=1
#EXT-X-STREAM-INF:BANDWIDTH=2000000, AUDIO="aac", CODECS="avc1.42e01e"
full_Dan_nor_teletext-output_ateme_2000000.m3u8?fmt=dash2hls&servicetype=1&hw_dash=1
#EXT-X-STREAM-INF:BANDWIDTH=2500000, AUDIO="aac", CODECS="avc1.42e01e"
full_Dan_nor_teletext-output_ateme_2500000.m3u8?fmt=dash2hls&servicetype=1&hw_dash=1
zhe rate.m3u8 like this:
#EXTM3U
#EXT-X-VERSION:7
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:80
#EXT-X-MAP:URI="full_Dan_nor_teletext-output_ateme_260_nor_init.m4i?fmt=dash2hls&servicetype=1&hw_dash=1"
#EXTINF:10,
full_Dan_nor_teletext-output_ateme_260_nor_Segment-80.m4s?fmt=dash2hls&servicetype=1&hw_dash=1
#EXTINF:10,
full_Dan_nor_teletext-output_ateme_260_nor_Segment-81.m4s?fmt=dash2hls&servicetype=1&hw_dash=1
#EXTINF:10,
full_Dan_nor_teletext-output_ateme_260_nor_Segment-82.m4s?fmt=dash2hls&servicetype=1&hw_dash=1
#EXTINF:10,
full_Dan_nor_teletext-output_ateme_260_nor_Segment-83.m4s?fmt=dash2hls&servicetype=1&hw_dash=1
#EXTINF:10,
full_Dan_nor_teletext-output_ateme_260_nor_Segment-84.m4s?fmt=dash2hls&servicetype=1&hw_dash=1
So, my qeuesion is if IOS10 support subtitle stream of fmp4 and webvtt?