9

How to store locally m3u8 file with all chunks (.ts) from url in ios device. If possible so how to do it?

I have developing functionality like.. Download .m3u8 file with chunks(.ts) in ios local storage then after modify .m3u8 and will play offline mode.

Please help me if have any kind of solution for above question.

George Stocker
  • 57,289
  • 29
  • 176
  • 237
Bhavesh Kumbhani
  • 555
  • 4
  • 11
  • I have done it. 1. Setup Local Server with root directory. 2. Download index file and store in local server root directory. 3. Download each of segment (.ts) one by one and local server root directory, segment path is get from index file. – Bhavesh Kumbhani Mar 17 '17 at 05:20

1 Answers1

2

The only way you can do this is to set up an HTTP server to serve the files locally after you've downloaded them.

Here are some related answers: Can IOS devices stream m3u8 segmented video from the local file system using html5 video and phonegap/cordova?

Community
  • 1
  • 1
IanStallings
  • 806
  • 10
  • 21