ios - How to play ts file using the cache in the AVPlayer? -
i want cache hls in ts file. apple demo site use custom schema site.
https://developer.apple.com/library/ios/samplecode/sc1791/introduction/intro.html
this sample use custom schema. it's use redirect ts file. searched "how play ts file using cache in avplayer". found use redirect local proxy. method prohibited apple move background.
is possible start ts file cached locally on avplayer ?
as far know, not possible play ts files directly using ios player (avplayer). there way play it.
- download .ts file , save in app document directory.
- use library keemotion/ts2mp4 convert ts file mp4 can played using avplayer.
now can either discreetly downloading -> convert -> play each single file. or can download multiple -> convert them 1 large mp4 file , play it.
Comments
Post a Comment