Is it possible to create a playlist of .m3u8 playlists for the iPhone?

I am looking for stream on an iPhone using a .m3u8 playlist for a case that is VOD. A use case is to stream a movie using a .m3u8 playlist.

Each segment in the playlist lasts 10 seconds, so for 1 and 30 minute movis this means 90 minutes * 6 segments / minutes = 540 segments. It seems like a lot to me to add .m3u8 to one playlist.

With that said, I was wondering if there is a way and whether the iPhone iPhone supports a .m3u8 playlist containing another playlist. So the format would be something like:

#EXTM3U
#EXT-X-TARGETDURATION:5220
#EXTINF:5220,
http://media.example.com/entire.ts
#EXTINF:5221,
http://media.example.com/therest.m3u8
#EXT-X-ENDLIST

So my questions are: is there a way to do this? And if not, what is the maximum size or length of the .m3u8 file.

Please note that I checked the following:

http://tools.ietf.org/html/draft-pantos-http-live-streaming-05

http://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/StreamingMediaGuide/Introduction/Introduction.html

.

+3
2

m3u8 Mac.

, m3u8 Mac App.

.

  • , m3u8.
  • , ..,
  • create.

.m3u8 .ts

+2

- , , mediastreamvalidator:

    ERROR: Invalid media segment: The validator helper exited due to a fatal error: failed to create format reader: [errno: -12847] format reader file not recognized.
21:    videos/high.m3u8

iphone m3u8 ( "" ) ().

( "" ), .

"mediafilesegmenter", . .

0

Source: https://habr.com/ru/post/1793645/


All Articles